Gomoku Game with AI
- Reinforcement learning
- Python 3+
- Numpy
- H5py
- PyQt5
Under development. Not all codes can run normally. May with some obscure bugs
- Install necessary dependencies (Linux)
pip install numpy h5py PyQt5
- Play with naive computer (Linux)
$ cd gomoku/test
$ python playwithnaiveai.py
- Re-Train AI network (Linux)
$ cd alphagomoku
$ python Alphagomoku.py --retrain --verbose
Please train AI network firstly!
- Play with AI network (Linux)
$ cd alphagomoku
$ python Alphagomoku.py --play