diff options
| author | Charlie Blake | 2018-02-15 12:48:35 +0000 |
|---|---|---|
| committer | GitHub | 2018-02-15 12:48:35 +0000 |
| commit | 9e865ef56ff2b90695343e2e5b7be6e05b2c56f4 (patch) | |
| tree | 7cd620ee74084d74d849b44fae2db3897763cadb /benchmark.py | |
| parent | Merge pull request #37 from thecharlesblake/docs (diff) | |
| parent | Add simple auto-found + works w/ removable founds (diff) | |
| download | metasol-9e865ef56ff2b90695343e2e5b7be6e05b2c56f4.tar.gz metasol-9e865ef56ff2b90695343e2e5b7be6e05b2c56f4.zip | |
Merge pull request #38 from thecharlesblake/foundation-dominance
Foundation dominance
Diffstat (limited to 'benchmark.py')
| -rw-r--r-- | benchmark.py | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/benchmark.py b/benchmark.py index 10f45dd..efdddac 100644 --- a/benchmark.py +++ b/benchmark.py @@ -38,11 +38,16 @@ if (len(sys.argv) >= 2 flag = "-no-reduced-state" print("Running in no-reduced-state mode...") +if (len(sys.argv) >= 2 + and (sys.argv[1] == "--no-auto-foundations" or sys.argv[1] == "-af")): + flag = "-no-auto-foundations" + print("Running in no-auto-foundations mode...") + class SolitaireRulesGen(metaclass=ABCMeta): def __init__(self, name): self.name = name - self.baseJson = json.load(open('resources/' + name + '.json')) + self.baseJson = json.load(open('resources/rules-presets/' + name + '.json')) def genRules(self, level): self.alterFieldsToChange(level) |
