Sure! Here's a simple game implemented as a single HTML file using JavaScript. It's a basic shooting game where you have to shoot down moving targets using your smartphone.
Save the above code in a file with a `.html` extension and open it in a web browser to play the game. When you tap/click on the game container, the player shoots a bullet towards moving targets. If the bullet hits any targets, the game ends and your score is displayed.