Sure! Here's an example of a simple shooting game implemented as a single HTML file that uses JavaScript. Please note that the following code is just a basic implementation to give you an idea, and you can modify and enhance it as per your requirements:
Copy and paste the above code into an HTML file (e.g., `shooting_game.html`) and open the file in a web browser. You should see a canvas with a player (blue square) that can be moved using arrow keys and shoots red bullets. Enemies (green squares) will spawn randomly from the top and move downwards. If a bullet collides with an enemy, both the bullet and the enemy will disappear. The game will continue running until you close the browser tab/window.