Sure, here's an example of a simple zombie shooter game implemented as a single HTML file using JavaScript:
This game sets up a canvas element where the game graphics are rendered. The player controls a red square and tries to shoot green zombie squares by clicking on them. The score increases when a zombie is shot, and decreases when the player is hit by a zombie.