|
4 years ago | |
---|---|---|
dist | 4 years ago | |
src | 4 years ago | |
test | 4 years ago | |
webpack | 4 years ago | |
.babelrc | 4 years ago | |
.eslintrc | 4 years ago | |
.gitignore | 4 years ago | |
package.json | 4 years ago | |
readme.md | 4 years ago | |
server.js | 4 years ago |
Starter board and Redux-based approach for a 5x5 Tic-Tac-Toe game. Uses only functional stateless components to create a game board, and used negative space to present the game board tiles. Does not include computer player or implement the Minimax algorithm. This is just a spike to try out a new React boilerplate.
Inspiration:
Clone Repo
git clone git@github.com:jhabdas/tictactoe.git
Install dependencies
cd tic-tac-toe
npm i
npm run dev
Run test once
npm run test
Test watch
npm run test:watch
For linting we're using ESLint with a modified Airbnb Eslint config
npm run lint
Build for production
npm run build
Start production server
npm start
Requires pm2 for production server. Install it on globally with 'npm i -g pm2'.