Sure, here's an example of a Snake Game implemented as a single HTML file using JavaScript:
To play the game, simply copy the code above into an HTML file and open it in a web browser. The game board will be displayed as a 20x20 grid. The snake is represented by green squares, and the apple is represented by a red square. Use the arrow keys to control the movement of the snake and try to eat the apple without hitting the walls or the snake's own body.