Sure, here's a simple retro game implemented as a single HTML file with JavaScript. This game involves a spaceship shooting down asteroids.
You can copy this code into an HTML file and open it in a web browser to play the retro game. The game involves controlling a spaceship using mouse movement and shooting down asteroids to score points. The game will end if the spaceship collides with an asteroid.