TicTacToe game with the help of reinforcement learning model
- Clone the repository
- CD into the the directory and open new command line and type the following command
pip install -r requirements.txt
- Run
python3 tictactoe_reinforcement.py
- Look in the same directory for the models and the graphs
- cd into the cloned repository
- In the command line type
export FLASK_APP=model-api
- then
python3 -m flask run
- the API will run on the port http://localhost:5000
- Next, Clone the repository TICTACTOE-FRONTEND
- CD into the tictactoe folder
- In the commandline type
npm install
(make sure you have already installed Nodejs - Once packages are installed, go to localhost:3000 in the browser to play the game
- Shrikrishna Joisa : 002920963
- Arjun Raja Yogidas: 002964082
- http://incompleteideas.net/book/the-book-2nd.html - Richard S Sutton & Andrew G Barto
- https://en.wikipedia.org/wiki/Q-learning - Wikipedia
- https://en.wikipedia.org/wiki/Reinforcement_learning - Wikipedia
- https://coderbook.com/@marcus/how-to-unit-test-functions-without-return-statements-in-python/ - coderbook.com