aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorTom Harley2019-01-29 12:29:37 +0000
committerTom Harley2019-01-29 12:29:37 +0000
commit160b3a382440a91fca1b4bbcde693b8b7c164aa3 (patch)
tree4baf86c19879003f43f055f2f5c85e76b2f7fefb /lib
parentReorganise repo (diff)
downloadmetasol-160b3a382440a91fca1b4bbcde693b8b7c164aa3.tar.gz
metasol-160b3a382440a91fca1b4bbcde693b8b7c164aa3.zip

Add support for reading gamestates from json files

Piles of cards can now be read from .json files using the --game/-g flag, although the solver doesn’t seem to like them. Currently, cards mentioned in these files are all face-up, which means that they aren’t particularly useful for building whole games and more just test cases.

Also added command-line options parsing, including accepting randomisation seeds from the --seed/-s option.

Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions