Sure, here's a simple implementation of the classic Atari game "Pong" as a single HTML file using JavaScript:
This code will display a game of Pong where you control one of the paddles using the up and down arrow keys. The ball will bounce off the paddles and the walls, and the game will continue until you close the browser window.