Sure, here's an example of a simple shooting game implemented in a single HTML file using JavaScript. Please note that this is just a basic example and you can enhance it further based on your requirements.
This game creates a canvas element on which you can control a player's ship using touch controls on your smartphone. The ship can fire bullets by tapping on the canvas, and it needs to shoot down the enemies that appear from the top of the screen. Each successful hit increases the player's score.