Sure, here's an example of a simple shooting game implemented as a single HTML file using JavaScript:
This game uses a simple keyboard controls to move the player left and right, and to shoot bullets by pressing the spacebar. The player is represented by a rectangle, and the bullets are also small rectangles that move vertically upwards.