worthy-opponent
is a program that plays two-player abstract strategy games. For now it just plays against itself.
Currently three games are implemented: Tic-tac-toe, Nine Men's Morris, Go, and Connect Four. Soon it will play every other game ever.
worthy-opponent
uses Monte Carlo tree search to pick its moves. It plays random games, keeping track of how likely each move is to result in a win, then selects the best move when asked to play.
cargo run --release --bin two-player -- playername [server:port]
The default value for server:port
is 127.0.0.1:11873
.
The server in the worthy-server
folder is currently out of date. Use the server from @NickLarsen's repository until I update it.