Skip to content

wbroberts/snake

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Snake

Play the game here!

Classic snake game implemented in Typescript on a HTML5 canvas element. The game is responsive and should work on all screen sizes. For phones or really small browser windows, touch buttons will show up on the bottom of the screen.

Controls

  • Desktop
    • Arrow keys
  • Mobile
    • Touch buttons

Game Play

The game starts slow but as you eat apples it gets faster. If you hit the boundaries or the snake hits itself, game over.

Themes

There are three theme colors to choose from:

  • blue
  • green
  • purple