Sure! Here's an example of a simple game implemented as a single HTML file using JavaScript:
This game creates particles with random colors on the screen, and the objective is to tap on the particles to increase the score. The particles will move randomly around the screen.