Sure! Here's a simple shooting game implemented as a single HTML file using JavaScript:
This game is a simple shooting game where you control a player at the bottom of the screen using arrow keys and shoot bullets using the space bar. The goal is to shoot the enemy squares while avoiding collision with them. The score increments whenever an enemy is shot, and the game ends when the player collides with an enemy.
Note: The game assumes smartphone operation, but it can also be played on a desktop/laptop by using arrow keys and the space bar for controls.