Sure! Here's an example of a simple Snake game implemented as a single HTML file using JavaScript:
To play the game, simply open the HTML file in a web browser and control the snake using arrow keys. The goal is to eat the red food and avoid colliding with the walls or the snake itself.