/iomrascalai

iomrascálaí is an AI for the game of Go/Weiqi/Baduk written in Rust

Primary LanguageRustGNU General Public License v3.0GPL-3.0

Build Status Gitter chat Coverage Status

Iomrascálaí

Iomrascálaí (Gaelic for wrestler, see here for the pronunciation) is an AI for the game of Go/Weiqi/Baduk written in Rust. Please note that we're using the Rust nightly build and not stable!

Development

See the Trello board for planned features and bugs and join the mailing list and the chat for discussion.

Testing

To play 10 games against GnuGo, install GoGui and run the following command in the top level folder:

BLACK="gnugo --mode gtp --chinese-rules --positional-superko --capture-all-dead --score aftermath --play-out-aftermath"
WHITE="./target/release/iomrascalai"
gogui-twogtp -auto -black "$BLACK" -white "$WHITE" -size 9 -alternate -time 5m -games 100 -sgffile gnugo-test

To run a game against GnuGo and view it in GoGui in real time use the following command (add -auto if a new game should automatically be started when a game is finished):

BLACK="gnugo --mode gtp --chinese-rules --positional-superko --capture-all-dead --score aftermath --play-out-aftermath"
WHITE="./target/release/iomrascalai"
TWOGTP="gogui-twogtp -black \"$BLACK\" -white \"$WHITE\" -verbose -size 9"
gogui -computer-both -program "$TWOGTP" -size 9

Resources

The following Go programs are available as source code and can serve as inspiration:

License

Iomrascálaí is licensed under GPL v3. See the LICENSE file for the complete license text.