Skip to content

an AI agent capable of playing the game of Gomoku by implementing a search algorithm

License

Notifications You must be signed in to change notification settings

xiu1zi3/AI3603-project-gomoku

Repository files navigation

AI3603-project-gomoku

an AI agent capable of playing the game of Gomoku by implementing a search algorithm

Requirements

Train

Open a terminal and run
python train.py

Start a game

Open a terminal and run
python start.py

Start a evaluation session

Open a terminal and run
python game.py

Appendix

command for a suitable environment

Create a new environment

run
conda create -n tf python=3.6

Install tensorflow 1.9.0

We recommend you to visit https://pypi.tuna.tsinghua.edu.cn/simple/tensorflow/ and download one of the following 3 according your device.

tensorflow-1.9.0-cp36-cp36m-macosx_10_11_x86_64.whl
tensorflow-1.9.0-cp36-cp36m-manylinux1_x86_64.whl
tensorflow-1.9.0-cp36-cp36m-win_amd64.whl

finish downloading, run
pip installfile path in your device
e.g.run
pip install D:\Download\myTensorflowWHL\tensorflow-1.9.0-cp36-cp36m-win_amd64.whl

Activate this environment

run
conda activate tf
or you can try
conda.bat activate tf

after using, run
conda deactivate tf
or you can try
conda.bat deactivate tf

removal

if you no longer need this environment, run
conda remove -n tf --all

about NumPy

run
pip install numpy==1.22 -i https://pypi.tuna.tsinghua.edu.cn/simple/
since tensorflow-intel 2.13.0 requires numpy<=1.24.3,>=1.22, while scipy 1.6.2 requires numpy<1.23.0,>=1.16.5

About

an AI agent capable of playing the game of Gomoku by implementing a search algorithm

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages