Skip to content

Latest commit

 

History

History
13 lines (11 loc) · 364 Bytes

README.md

File metadata and controls

13 lines (11 loc) · 364 Bytes

SnakeGame

Rules:

  • snake have to eat food (blue oval) to grow,
  • snake can't fall into itself,
  • snake can't go outside the map,
  • snake have to avoid obstacles (brown rectangles).

Control over snake:

  • W - snake will turn it's head up,
  • S - snake will turn it's head down,
  • A - snake will turn it's head left,
  • D - snake will turn it's head right.