https://github.com/danielykpan/ng2-snake
Game Snake Demo
https://github.com/danielykpan/ng2-snake
angular game typescript webpack
Last synced: 2 months ago
JSON representation
Game Snake Demo
- Host: GitHub
- URL: https://github.com/danielykpan/ng2-snake
- Owner: DanielYKPan
- License: mit
- Created: 2017-02-26T00:32:27.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-03-01T09:44:16.000Z (over 9 years ago)
- Last Synced: 2025-01-09T10:18:03.611Z (over 1 year ago)
- Topics: angular, game, typescript, webpack
- Language: JavaScript
- Homepage: https://daniel-projects.firebaseapp.com/game/snake
- Size: 1.02 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Game Snake
**[Demo](https://daniel-projects.firebaseapp.com/game/snake)**

A Snake Game is an action game that consists of a snake that is constantly moving inside a grid. The player
controls the direction of the snake, but the snake always keeps moving. When the snake eats something, it
grows in size. If the snake touches the boundaries of the grid, or if it tries to eat its own tail, the
game is over. The goal of the game is to keep the snake alive as long as possible.
Powered by Angular2

## Run Demo App
Clone this repo into new folder(e.g., game-snake)
```
> git clone https://github.com/DanielYKPan/ng2-snake game-snake
> cd game-snake
```
Install all npm packages
```
> npm install
```
Run the app
```
> npm run server:dev:hmr
```
## To Do
- [ ] Design Non-Wall game mode
## Checkout Other Game Projects
**[Daniel Game Projects](https://daniel-projects.firebaseapp.com/game)**
## Author
**[Daniel Pan](https://daniel-projects.firebaseapp.com)**
- [github/DanielYKPan](https://github.com/DanielYKPan)
- [twitter/DanielYKPan](https://twitter.com/DanielYKPan)
## Resources
**[Snake Image](http://rembound.com/articles/creating-a-snake-game-tutorial-with-html5)**
## License
[](/LICENSE)