Sure! Here's a simple implementation of the Snake game using JavaScript, enclosed in script tags, and playable in a single HTML file:
To play the game, copy and paste the above code into a new HTML file and open it using a web browser. Use the arrow keys to control the snake and try to eat the red food while avoiding collisions with the snake's own body or the game board boundary. Enjoy!