Sure! Here's a simple game implementation in a single HTML file:
This simple game involves a blue emoji that you control using left and right arrow keys. The objective is to avoid the red asteroids (red emoji) as they move downwards. The game lasts for 10 rounds, and you start with 3 hearts. Whenever the blue emoji collides with a red asteroid, you lose a heart. The game ends when you run out of hearts or complete all 10 rounds.
Note: This game implementation is a basic example. You can modify and enhance it further as per your requirements.