
About
Snake in JavaScript is a browser-based implementation of Snake using an HTML5 canvas element, playable directly at the developer's website or by opening the game locally in a browser. Players use arrow keys to steer the snake, eat apples to grow and score points, and have 4 lives before the game resets.
Getting started
Play directly at the developer's website, or open the game locally in a web browser — no build step is required. Use the arrow keys to move and eat apples to grow your score.
History
The game was originally written in Rust using SDL2, then later converted to JavaScript so it could run in a web browser.