khayyamj / ngx-snake

Snake arcade game implemented in Angular 4

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ngx-Snake

Dependencies Dev Dependencies

ngx-Snake is simple Snake arcade game implemented in Angular 4 (latest 4.4.4)

Demo (Updated: 08/10/2017)

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 1.3.2)

$ 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 (in progress)
    • Classic
    • No Walls
    • Obstacles
    • Multiple Fruits
  • Update UI
    • Make it responsive
    • Introduce controls for mobile devices
  • Write tests
  • ...

About

Snake arcade game implemented in Angular 4

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

License:MIT License


Languages

Language:TypeScript 67.3%Language:CSS 19.4%Language:HTML 13.3%