Skip to content

andreynav/tic-tac-toe

Repository files navigation

GitHub repo size GitHub deployments Website

General Notes

The current project is a project of simple tic-tac-toe game executed due to the React and Styled components.

Demo

You can open and use the app by tic-tac-toe app link.

Project structure

The project has multilayer structure:

  • public - used to keep static content for builds
  • assets - used to keep static content
  • components - used to keep react components
  • hooks - used to keep hooks
  • styles - used to keep styles
  • utils - used to keep utils for helping

Dependencies

The project has the next dependencies in the package.json file.

GitHub package.json dependency version (prod) GitHub package.json dependency version (prod)

Installation

  1. Clone project to your PC by the following command:
  git clone https://github.com/andreynav/tic-tac-toe.git
  1. Open the root directory and enter the following command:
  yarn
  1. In the root directory create .env file and add inside it a row PORT=3003 (or any desired port).

Running project

To run project, open the root directory and enter the following command:

  yarn start

The command runs the app in the development mode. Open http://localhost:3003 to view it in your browser.

License

The project is open source software provided under the Apache License 2.0.