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. --- .gitmodules | 6 ++++++ 1 file changed, 6 insertions(+) (limited to '.gitmodules') diff --git a/.gitmodules b/.gitmodules index bae3d98..3153a59 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,3 +1,9 @@ [submodule "thpool"] path = thpool url = git@github.com:Pithikos/C-Thread-Pool +[submodule "jsmn"] + path = jsmn + url = git@github.com:zserge/jsmn +[submodule "docopt"] + path = docopt + url = git@github.com:docopt/docopt.cpp -- cgit v1.2.1