From 160b3a382440a91fca1b4bbcde693b8b7c164aa3 Mon Sep 17 00:00:00 2001 From: Tom Harley Date: Tue, 29 Jan 2019 12:29:37 +0000 Subject: 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. --- docopt | 1 + 1 file changed, 1 insertion(+) create mode 160000 docopt (limited to 'docopt') diff --git a/docopt b/docopt new file mode 160000 index 0000000..3dd23e3 --- /dev/null +++ b/docopt @@ -0,0 +1 @@ +Subproject commit 3dd23e3280f213bacefdf5fcb04857bf52e90917 -- cgit v1.2.1