Sure! Here's an example of a simple shooting game implemented as a single HTML file using JavaScript:
In this game, the player controls a blue square at the bottom of the canvas using the left and right arrow keys. The objective is to shoot down the green square enemies that fall from the top by pressing the SPACE bar.
Please note that this is a basic implementation, and you can customize and enhance the game as per your requirements.