Sure! Here's an example of a simple shooting game implemented as a single HTML file with JavaScript. The game will be playable on smartphones and will use pictograms for the visuals. Just copy the code below into an HTML file, save it, and open it in a web browser to play the game:
This game allows you to control a rocket 🚀 using the left and right arrow keys. Press the Space bar to shoot 🔥 at the alien invaders 👽. Your score will increase by 10 when you shoot down an alien. The game ends when an alien reaches the bottom of the screen, and your final score will be displayed. Enjoy the game!