This is a project we worked on for the university of Vic. We created our own dataset of hundred thousand gameplays of tic-tac-toe played randomly, and we tried to train an IA based on this dataset in order to obtain better result.
This repository contains the following files:
requirements.txt
: File containing dependencies needed for the project.main.py
: Launch an manage all the other filesgenerative_with_the_plate.py
: Generate a dataset of tic-tac-toe gameplays of two computer playing randomly.results.py
: Show some results obtained after the IA gameplays.test_entier.py
: Training of tha IA and creation of a new dataset based on a gameplay between IA and a computer playing randomlywant_win.py
: getting a new dataset from generative_with_the_plate.py but contening only wins to train the IA
# Clone the repository
git clone https://github.com/Artiens/Tic-Tac-Toe_Project.git
# Change directory
cd Tic-Tac-Toe_Project
# Install dependencies
npm install