Sure! Here's a simple game about Mario squishing Goombas using JavaScript within a single HTML file. It is designed to be played on a smartphone and includes pictograms.
To use this game:
1. Save the code above into a file named `mario_game.html` on your computer.
2. Make sure you have two image files: `emozi_all/mario.png` and `emozi_chicken.png`, and place them in the same directory as the HTML file.
3. Open the HTML file in a web browser on your smartphone.
4. The game will display a score counter on the top right corner, and you can touch or click on the game area to generate Goombas. Tap or click on the Goombas to squish them and score points.
Please note that you will need to replace `emozi_all/mario.png` and `emozi_dog.png` with your own image files if you want to use different pictograms for Mario and Goombas.