A JS + HTML canvas implementation of the classical snake video game.
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
README.md
index.html
snake.js
style.css

README.md

Snake

This is a JS + HTML canvas implementation of the classical snake video game. I made the canvas responsive and add swipe detection so this game is playable across different devices.

Play

  • Arrow keys / Swipe: Start the game / Control the snake
  • Space: Pause/Resume the game