Skip to content

strout/worthy-opponent

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Worthy Opponent

worthy-opponent is a program that plays two-player abstract strategy games. For now it just plays against itself.

Games

Currently three games are implemented: Tic-tac-toe, Nine Men's Morris, Go, and Connect Four. Soon it will play every other game ever.

How it works

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.

How to run it

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.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages