demo: http://supuilam.com/tic-tac-toe
clone the repository : git clone https://github.com/sjBao/tic-tac-toe.git
Because Rails and React are separate, first make sure dependencies are gathered. If you want to simply play the game and don't care about saving match results skip the rails portion.
- Rails:
$ bundle
$ rails db:create
$ rails db:migrate
- npm:
$ npm run build
After you've finish the set up you can run on your machine with $ rake start
.
Alternatively, you can run without backend by going into client folder and running $ npm run start
.