aboutsummaryrefslogtreecommitdiff
path: root/benchmark.py
diff options
context:
space:
mode:
authorCharlie Blake2018-03-21 11:03:00 +0000
committerGitHub2018-03-21 11:03:00 +0000
commit58118e89351e4c82fb1f54ebb021a1b0f9ba3ff8 (patch)
tree559310dd2c48ed7db6af82233c5bf185d234ee30 /benchmark.py
parentMerge pull request #43 from thecharlesblake/shortest-solution (diff)
parentUpdate benchmark spider scaling for correct rules (diff)
downloadmetasol-58118e89351e4c82fb1f54ebb021a1b0f9ba3ff8.tar.gz
metasol-58118e89351e4c82fb1f54ebb021a1b0f9ba3ff8.zip

Merge pull request #44 from thecharlesblake/spider-fix

Spider fix

Diffstat (limited to 'benchmark.py')
-rw-r--r--benchmark.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/benchmark.py b/benchmark.py
index efdddac..d790718 100644
--- a/benchmark.py
+++ b/benchmark.py
@@ -159,7 +159,7 @@ class SpiderRulesGen(SolitaireRulesGen):
def alterFieldsToChange(self, level):
self.baseJson["max rank"] = level
self.baseJson["tableau piles"]["count"] = math.ceil(10*level/13)
- self.baseJson["stock size"] = math.ceil(60*level/13)
+ self.baseJson["stock size"] = math.ceil(50*level/13)
def cleanup():
os.remove(tempRulesFilename)