Just a simple Snake game for your browser
It's not yet complete, but is playable somehow.
This is only a playground to get React and Redux working. And I always wanted to code a Snake game!.
Check it out here.
- Clone the code
npm install
npm run server
- Open it at http://localhost:8080/webpack-dev-server/www
- Click inside the browser page to get focus
- Arrows
- WASD
- Vim movement controls (HJKL)
- R to restart
Basic stylesSnake movementEat foodGrowing upDetect collisions against wallsBasic scoringVim controlsBetter stylesLanding pageDetect collisions against the snake itselfBetter Game Over pageRestart optionDeploy it!
- Power ups
- Multiplayer support
- Complex mazes
- Adjust velocity
- Leaderboards
- Nibbler mode
Sure! Feel free to clone and hack whatever you want. I'm open to PRs, don't be shy!