Browser version of the classic game Snake built with JavaScript and jQuery.
Switch branches/tags
Nothing to show
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.
css
js
README.md
index.html

README.md

Snake

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!

Controls

  • 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