Sure, here's a simple implementation of a Mario fighting game using JavaScript. Keep in mind that due to the limitations of the response format, I can only provide a simplified version of the game. You can modify and enhance it further according to your requirements.
In this game, you'll see two characters, Mario and an enemy. You can click the "Attack" button to initiate an attack, which randomly deducts health points from both characters. The game ends when either Mario or the enemy's health reaches 0.
To customize the game further, you can replace the `emozi_all/game.png` and `emozi_all/enemy.png` images with your desired pictograms/icons. You can also modify the game logic, add more attacks, different characters, animations, sound effects, etc., to create a more complex and enjoyable experience.