Sure! Here's a simple shooting game implemented as a single HTML file using JavaScript:
To play the game, you can save the above code into an HTML file (e.g., `shooting_game.html`) and open it in a web browser on a smartphone. The game involves controlling a player character (represented by a blue square) to move left and right using the left and right arrow keys respectively. To shoot bullets, press the spacebar. The objective is to shoot down the enemies (green squares) as they descend from the top of the screen. If an enemy collides with the player, the game ends and an alert message is displayed. You can then reload the page to play again.