Open up public/index.html
in Chrome browser and the game should work. However, if it doesn't work, the below is the steps to build.
Or, play it here
###Pre-requisites
- Node.js (LTS)
npm install
npm run build
- Open up
public/index.html
in Chrome browser - Enjoy!
- Add Game module to control the state of the whole game including start, end, and reset methods, as well as high scores.
- Increase snake speed a little each time she eats a frog.
- Decorate snake with css by adding head and tail class name to the cells.
- Add start page to customize game, such as snake speed, number of frogs, size of the board.
- Fix bugs (e.g. key control).