Skip to content

mesutdede/ngx-snake

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ngx-Snake

ngx-Snake is simple Snake arcade game implemented in Angular 2 (latest 2.4.8)

Demo (Updated: 27/02/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.0.0-rc.0)

$ 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
  • Write tests
  • ...

About

Snake arcade game implemented in Angular 2

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 68.9%
  • HTML 15.7%
  • CSS 15.4%