aboutsummaryrefslogtreecommitdiff
path: root/src/main
diff options
context:
space:
mode:
authorthecharlesblake2018-01-09 08:51:11 +0000
committerthecharlesblake2018-01-09 08:51:11 +0000
commitef291b15a21f2f6cfa98b2c4f2572de5a61a2fa9 (patch)
treec8ff5b12fb605fc5ac9b01d3ea70ba3d8c2f4128 /src/main
parentAdd alpha star to benchmark script (diff)
downloadmetasol-ef291b15a21f2f6cfa98b2c4f2572de5a61a2fa9.tar.gz
metasol-ef291b15a21f2f6cfa98b2c4f2572de5a61a2fa9.zip

Add json rules for spider

Diffstat (limited to 'src/main')
-rw-r--r--src/main/input-output/input/sol_preset_types.cpp35
1 files changed, 34 insertions, 1 deletions
diff --git a/src/main/input-output/input/sol_preset_types.cpp b/src/main/input-output/input/sol_preset_types.cpp
index 6805f8e..8f0293f 100644
--- a/src/main/input-output/input/sol_preset_types.cpp
+++ b/src/main/input-output/input/sol_preset_types.cpp
@@ -24,15 +24,17 @@ std::map<string, string> sol_preset_types::mp = {
"build order": "descending",
"build policy": "any-suit",
"spaces policy": "any",
- "diagonal deal": true,
+ "diagonal deal": false,
"move built group": false
},
"max rank": 13,
+ "two decks": false,
"hole": false,
"foundations": true,
"foundations initial card": false,
"cells": 0,
"stock size": 0,
+ "stock deal type": "waste",
"reserve size": 0,
"reserve stacked": false
}
@@ -300,5 +302,36 @@ std::map<string, string> sol_preset_types::mp = {
}
)"
+ },
+ {
+ "spider",
+
+ R"(
+{
+ "tableau piles": {
+ "count": 10
+ },
+ "two decks": true,
+ "stock size": 60,
+ "stock deal type": "tableau piles"
+}
+)"
+
+ },
+ {
+ "simple-spider",
+
+ R"(
+{
+ "tableau piles": {
+ "count": 4
+ },
+ "two decks": true,
+ "max rank": 3,
+ "stock size": 12,
+ "stock deal type": "tableau piles"
+}
+)"
+
}
}; \ No newline at end of file