Classic Snake

Web / HTML5

Classic Snake, kept intentionally small: one grid, one food item, score tracking, game-over on wall or self collision, and instant restart.

Play in the page

Controls

  • Arrow keys or WASD to steer
  • Space, Enter, or the on-screen button to pause and resume
  • R or the restart button to reset the run

Manual checks

  • Food should always spawn on an empty cell
  • Reversing directly into the snake should be ignored
  • Hitting a wall or the body should stop the game immediately
  • Restart should reset score, length, food, and direction
JieDimension AI 客服
你好!我是基于 Puter.js (GPT-5-Nano) 的 AI 助手。有什么我可以帮你的吗?