/angular-ts-snake

Small example of a snake game using Angular v9, RxJS, & TypeScript

Primary LanguageTypeScript

Snake

How to Run

yarn install

yarn start

Game will be availabe on localhost:4200.

How To Play

Controls:

  • W - Up
  • D - Right
  • S - Down
  • A - Left

You can pause by pressing the Spacebar.

To restart the game (if you win or lose) press Escape.

These controls be remapped in user-input-manager.ts.