A React version of Tic Tac Toe based on the React Tutorial Project, but with a few tweaks:
- All optional improvements, specified here, implemented
- Using React Hooks instead of React Class Components
- Typescript added
- Styled Components used for CSS-in-JS styling
- Style normalizer added
- Styles improved from base version
- Light and dark themes added (although not configurable)
- Using AirBnB style guide and Prettier
- Main repo: https://github.com/daxadal/tic-tac-toe-react
- Backup repo: https://gitlab.com/egarciadececa/tic-tac-toe
- https://tic-tac-toe.daxadal.tk/
- https://tic-tac-toe.egarciadececa.tk/
- https://egarciadececa.gitlab.io/tic-tac-toe/
To run the app, first you have to install the dependencies:
npm ci
The app can be started using one of the following commands:
npm run start # Hot-reloads for development
npm run build # Minifies for production
By default, the app is available at http://localhost:3000
.
Project can be linted using the following command:
npm run lint