Artificial intelligence for the game of Go using neural networks and genetic algorithms
This is an experiment to see if genetic algorithms can be used to evolve a neural network for playing the game of Go. I don't expect this to be a good program anytime soon (or ever), I just want to play around.
- Clone the repository
- Set up the submodules using
git submodule init && git submodule update
- Build everything using
make
- Run the tests using
make test
- Ensure that you have the Ruby version installed as specified in
.ruby-version
(or use rvm or similar to do it automatically). - Execute
./runner EXPERIMENT_NAME
and answer the setup questions - If you quit you can just restart the experiment with the same command
BLACK="./engine/evo"
WHITE="./engine/evo"
REFEREE="gnugo --mode gtp"
TWOGTP="gogui-twogtp -black \"$BLACK\" -white \"$WHITE\" -referee \"$REFEREE\" -games 10 -size 9 -alternate -sgffile evo"
gogui -size 9 -program "$TWOGTP" -computer-both -auto