/snake-minigame

A snake mini game developed with TypeScript

Primary LanguageTypeScript

snake-minigame

A mini course project for TypeScript coding practice.

Game Interface

Control & Rules

  • ↑、↓、←、→: To control the direction forward and the opposite direction change is set as invalid.
  • Game Over: (1) Hit the wall (2) Hit the body itself.
  • The score of level-up and maximum of level can be set in GameControl Class.

Install Necessary Package

npm install

Run

npm start