aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCharlie Blake2018-07-14 16:58:15 +0100
committerCharlie Blake2018-07-14 16:58:15 +0100
commitaa0800014469c1c9d7ff8d0606855b1189c1e610 (patch)
tree3ad35f8f7e1b47bc3399320adb1e7e120ba0dfcd
parentAdd accordion to default rules (diff)
downloadmetasol-aa0800014469c1c9d7ff8d0606855b1189c1e610.tar.gz
metasol-aa0800014469c1c9d7ff8d0606855b1189c1e610.zip

Add accordion rule types

-rw-r--r--src/main/input-output/input/sol_preset_types.cpp60
1 files changed, 60 insertions, 0 deletions
diff --git a/src/main/input-output/input/sol_preset_types.cpp b/src/main/input-output/input/sol_preset_types.cpp
index e53438b..0c96651 100644
--- a/src/main/input-output/input/sol_preset_types.cpp
+++ b/src/main/input-output/input/sol_preset_types.cpp
@@ -1088,6 +1088,66 @@ map<string, string> sol_preset_types::mp = {
}
)"
+ },
+ {
+ "simple-accordion",
+
+ R"(
+{
+ "foundations": {
+ "present": false
+ },
+ "tableau piles": {
+ "count": 0
+ },
+ "accordion": {
+ "size": 10,
+ "moves": ["L1", "L3"],
+ "build policies": ["same-suit", "same-rank"]
+ }
+}
+)"
+
+ },
+ {
+ "accordion-knuth",
+
+ R"(
+{
+ "foundations": {
+ "present": false
+ },
+ "tableau piles": {
+ "count": 0
+ },
+ "accordion": {
+ "size": 18,
+ "moves": ["L1", "L3"],
+ "build policies": ["same-suit", "same-rank"]
+ }
+}
+)"
+
+ },
+ {
+ "accordion",
+
+ R"(
+{
+ "foundations": {
+ "present": false
+ },
+ "tableau piles": {
+ "count": 0
+ },
+ "accordion": {
+ "size": 52,
+ "moves": ["L1", "L3"],
+ "build policies": ["same-suit", "same-rank"]
+ }
+}
+)"
+
}
};