Ultimate tic-tac-toe is a modified version of the well-known tic-tac-toe game. It is played with nine boards arranged in a 3x3 grids. More information and rules can be found here.
You need these two package managers:
npm
pip
Start with activating virtualenv.
OS X & Linux:
$ virtualenv venv
$ python3.6 -m venv venv
$ . venv/bin/activate
Windows:
> virtualenv venv
> python -m venv venv
> venv/Scripts/activate
Install dependencies.
pip install -r requirements.txt
Install javascript dependencies.
npm install
React components are in src
directory. While developing on the front-end run npm run build
to compile your javascript code. It will create a build
directory, which contains bundled version of your javascript and css codes.
Back-end part consists of app.py
and ai.py
.
python -m flask run