Sure! Here is an example of a simple game implemented in a single HTML file using JavaScript:
This is a simple game where the player controls a paddle at the bottom of the screen using the mouse to bounce a ball and prevent it from falling off the bottom of the screen.