Skip to content

Latest commit

 

History

History
62 lines (45 loc) · 1.51 KB

README.md

File metadata and controls

62 lines (45 loc) · 1.51 KB

ngx-Snake

build-url Dependencies Dev Dependencies

ngx-Snake is simple Snake arcade game implemented in Angular 7 (latest 7.1.4)

Demo (Updated: 06/01/2019)

https://samirhodzic.github.io/ngx-snake/

Controls

UP, DOWN, LEFT, RIGHT - to control snake

Setup

Note: Require Node 4+ together with Npm 3+, also be sure to install Angular-CLI (latest 7.1.4)

$ npm install -g @angular/cli@latest

Clone this repo in your favourite shell:

$ git clone https://github.com/SamirHodzic/ngx-snake.git

Install the npm packages described in the package.json:

$ npm install

Transpile typescript into javascript, host the app and monitor the changes:

$ ng serve

Visit http://localhost:4200 and play!

TODO

  • Save Best Score
  • Multiple modes
    • Classic
    • No Walls
    • Obstacles
    • Multiple Fruits
  • Update UI
    • Make it responsive
    • Introduce controls for mobile devices
  • Write tests
  • ...