Sure, here's a simple game implemented as a single HTML file using JavaScript:
This HTML file sets up a canvas element where users can tap to draw a square. When the canvas is clicked, it triggers the `drawSquare` function, which calculates the click coordinates and draws a square centered at those coordinates. The canvas is cleared before drawing each new square to prevent multiple squares from stacking up. The square is drawn with an orange color.