Sure! Here's an example of a simple gun shooting game implemented as a single HTML file:
Before running the code, make sure to replace "emozi_rabbit.png" and "emozi_apple.png" with the actual paths to the gun and bullet pictogram images you want to use.
Once you open the HTML file in a browser on your smartphone, you'll be able to control the gun's position by touching and dragging on the screen. Tap the screen to shoot a bullet. The goal of the game is to hit the falling target with the bullet. If a collision occurs, the target will reset its position, and you can continue playing.