Sure! Here's a simple example of a game implemented as a single HTML file using JavaScript:
In this game, you control a player represented by a white rectangle and you can move it up and down using the arrow keys on your smartphone. Pressing the space key will shoot bullets represented by red rectangles that move towards the right side of the screen.
Please note that this is a basic implementation and can be further enhanced with different game mechanics, scoring, levels, etc.