Built with
HTMLCSSJavaScript (Canvas)
The download is a single self-contained .html file — all the markup, styling, and game logic live in one place, with no libraries or build tools.
Source code
Steer the snake with the arrow keys or on-screen controls, eat the food to grow, and avoid hitting the walls or yourself. Built with the HTML canvas and a game loop.
The download is a single self-contained .html file — all the markup, styling, and game logic live in one place, with no libraries or build tools.
.html file.