The AI is implemented using Convolutional NN and is trained with the Deep Q-Learning algorithm.
- Add your own local configuration file at
playground/_train_config.py
- Extend the
tictactoe_nn.config.TrainConfig
class and define options you need. See theTrainConfig
for available options. - I recommend you to install the
fflib
- apart of other things it provides the tool for quickly running scripts from theplayground
directory.
pip install https://github.com/faddey-w/fflib/archive/master.zip
- Run the training script. If you've installed the fflib, simply type
play run
, otherwise -python3 -m playground.run