maxpumperla / betago

BetaGo: AlphaGo for the masses, live on GitHub.
http://maxpumperla.github.io/betago
MIT License
680 stars 162 forks source link

scripts to play against GnuGo and Pachi #37

Closed cdmalon closed 7 years ago

cdmalon commented 7 years ago

Pachi implements a GTP server but not a GTP client, so it's useful to have a script that makes BetaGo a GTP client for Pachi (or for GnuGo).

python examples/play_pachi.py 0

will play against Pachi with zero handicap and write the game output to output.sgf. Sadly, the margin of BetaGo's loss seems about the same however many stones you give it (except at nine stones, Pachi resigns as its first move).

You can use a command like

gnugo -l output.sgf --score finish

to determine who won, and by how much.

Of course, Pachi and GnuGo require separate installation before these scripts can be run.

macfergus commented 7 years ago

Awesome, thanks for implementing this!

macfergus commented 7 years ago

Sadly, the margin of BetaGo's loss seems about the same however many stones you give it

I've successfully trained some bigger models that are slightly more competitive. The best one consistently beats gnugo at 2 stones, and will occasionally win an even game

http://eidogo.com/#33Z61MLIM