Sure! Here's an example of a simple Snake Game implemented as a single HTML file with JavaScript:
To play the game, you can open this HTML file in a web browser (on a smartphone or computer) and control the snake using the arrow keys. The objective is to eat the red food and avoid colliding with the snake's own body. Enjoy playing!