A simple tic tac toe game built with Flask, with Flux and Reactjs on the frontend, and Redis to maintain the state of the game.
- Clone the repo,
- Make sure you have Redis installed
- In the root directory, run
pip install -r requirements.txt
- In the root directory, run
npm install
- In the root directory, run
bower install
- Start the app by running start.sh:
sh start.sh
A: The server determines the next move for the AI and also maintains the state of the game. This ensures that the player can't cheat their way to a win by modifying anything on the front end.
A: Because it's a nice way to maintain the flow of dynamic data throughout the game.