Sure! Here's a simple shooting game implemented as a single HTML file using JavaScript:
You can copy and save the above code as an HTML file, then open it in a web browser (preferably on a smartphone) to play the shooting game. The player is represented by a blue square, and the targets are represented by green squares. Tilt your smartphone to move the player horizontally and tap the screen to shoot the bullet at the targets. The objective is to hit as many targets as possible. Enjoy playing!