SNAKE is a webapp game that allow user to control the moving direction of a snake and eat food to grow its length. App has been deployed to Netlify and can be found here.
- TypeScript
- Less
- Webpack
- Babel
Hot Key | Move |
---|---|
ArrowUp | Move Up |
ArrowDown | Move Down |
ArrowLeft | Move Left |
ArrowRight | Move Right |
Situation | Result |
---|---|
Snake ate food | Score increment by 1 |
Scored by 10 | Level up by 1 |
Situation | Consequence |
---|---|
Opposite Direction | Not Allowed |
Bumped into Border | Game Over |
Bumped into Snake itself | Game Over |