Skip to content
Browser version of the classic game Snake built with JavaScript and jQuery.
JavaScript CSS HTML
Branch: master
Clone or download

Latest commit

Fetching latest commit…
Cannot retrieve the latest commit at this time.


Type Name Latest commit message Commit time
Failed to load latest commit information.


An implementation of the classic game Snake in JavaScript.

Getting Started

To run this project, either open up index.html in your favorite web browser, or click here to play the live version.

How to Play

This snake has got some hustle -- it doesn't stop moving forward. You can however tell it where to go. Move up, left, down and right to collect apples and grow your snake, but be careful. If your snake runs into itself, it will die.

This snake has space-warping powers. If you leave the board on one side, it comes out from the other!


  • W / I / Up-Arrow: Move snake up
  • A / J / Left-Arrow: Move snake left
  • S / K / Down-Arrow: Move snake down
  • D / L / Right-Arrow: Move snake right
You can’t perform that action at this time.