Skip to content

lindapaiste/snake

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Snake

My version of the classic computer game snake, built in React/typescript with no other dependencies.

Features:

  • Contolled by keyboard arrows
  • Pause/resume with space bar
  • Session high score
  • Snake speeds up over time
  • Snake gets longer after eating an apple
  • Random obstacles appear and disappear
  • Size based on window height (assumes that width is the larger dimension)