Sure! Here's an example of a simple game called "Minecraft Run" implemented as a single HTML file:
Score: 0
In this game, you control a character using the spacebar on a smartphone. The character can jump over zombies that spawn from the right side of the screen. The score increases as you successfully avoid the zombies. If you collide with a zombie, the game ends and your score is displayed. To play the game, you can try copying the above code into a single HTML file and open it in a web browser on your smartphone. You can also customize the appearance of the character and zombies by replacing the image URLs in the CSS section of the code.