Classic Snake: grid movement, growing snake, food spawn, score, game-over, restart.
npm installnpm run dev- Open the printed URL (default
http://localhost:5173)
- Menu (landing):
/(public/index.html) - Game:
/game.html(public/game.html) - Advanced (canvas):
/advanced/(public/advanced/index.html)
- Move: Arrow keys or WASD
- Pause/Resume: Space (or the Pause button)
- Restart: R (or the Restart button)
npm test