DanielYKPan / ng2-snake

Game Snake Demo

Home Page:https://daniel-projects.firebaseapp.com/game/snake

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Game Snake

Demo

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

Author

Daniel Pan

Resources

Snake Image

License

AUR

About

Game Snake Demo

https://daniel-projects.firebaseapp.com/game/snake

License:MIT License


Languages

Language:JavaScript 50.2%Language:TypeScript 36.8%Language:CSS 10.2%Language:HTML 2.9%