Sure! Here's an example of a simple shooter game implemented as a single HTML file:
This HTML file contains a shooter game with a simple player-controlled square, bullets that can be shot with the spacebar, and enemies that move down and collide with the player. The goal is to shoot as many enemies as possible and avoid colliding with them. The score is displayed at the top-left corner of the canvas.