Here's a simple shooting game implemented as a single HTML file using JavaScript:
To play the game on a smartphone, simply open the HTML file in a web browser. The player can move the character horizontally by touching and dragging on the screen. Tap anywhere on the screen to shoot bullets. The objective of the game is to shoot down as many targets as possible.