5x5 Tic-Tac-Toe
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Josh Habdas 26cb38c664 Why this exists 2 years ago
dist Initial commit 2 years ago
src Initial commit 2 years ago
test Initial commit 2 years ago
webpack Initial commit 2 years ago
.babelrc Initial commit 2 years ago
.eslintrc Initial commit 2 years ago
.gitignore Initial commit 2 years ago
package.json Initial commit 2 years ago
readme.md Why this exists 2 years ago
server.js Initial commit 2 years ago

readme.md

Tic-Tac-Toe

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:

Installation

Clone Repo

git clone git@github.com:jhabdas/tictactoe.git

Install dependencies

cd tic-tac-toe

npm i

Start development server with hot reloading

npm run dev

Testing

Run test once

npm run test

Test watch

npm run test:watch

Linting

For linting we’re using ESLint with a modified Airbnb Eslint config

npm run lint

Production

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’.