The rules implemented will largely follow the one described in: https://www.pagat.com/climbing/doudizhu.html
- Java 8 runtime
- sbt
From command line (arguments must be enclosed in quotes along with the run
command)
sbt "run human smart dumb --debug"
First three required arguments specifies the name of the agents to use. Optional arguments include:
--log
to save the text output to a file in thelogs/
directory. Note that this redirects all text output so a human agent will not get any prompt fromstdout
. It is primary used to log bot only games.--init0
can be used to force the game to start the landlord selection process at the first agent specified in the arguments.--debug
print out debug information.--verbose
print out verbose debug information (use with--debug
). This will print out a lot of debug information so use sparingly.
Here are some simple grep commands to get an overview of the games when logging is enabled:
grep hand logs/*
to see hand progressionsgrep won logs/*
to see a list of winnersgrep getSuccessor logs/*
to see Expectimax related information