Skip to content

Latest commit

 

History

History
24 lines (18 loc) · 466 Bytes

File metadata and controls

24 lines (18 loc) · 466 Bytes

Notes on Snake

Game Mechanics

Losing Conditions

  • Collision with sides
  • Collision with self

Movement

  • Grid-based - (20x20?)

Collecting tokens

  • Lengthens the snake
  • Removes the collected token
  • Generates a new token in a random space on the grid where the snake is not present

Increased Difficulty (Extension?)

  • Increased speed
  • Adds obstacles

Scoring

  • Tokens collected
  • Snake length?
  • High score in local storage