Sure! Here's a simple shooting game implemented as a single HTML file using JavaScript:
To play the game, open the HTML file in a browser. The game will display a player-controlled rectangle at the bottom of the canvas. Move the player left and right using the arrow keys or by dragging the mouse. Click the mouse to shoot bullets at randomly spawning enemies. The goal is to destroy as many enemies as possible without colliding with them. The game will end when an enemy reaches the bottom, and a score will be displayed.