From 5886a4e8be7fb5e15617a8e58f207ec008ca93e2 Mon Sep 17 00:00:00 2001 From: thecharlesblake Date: Fri, 5 Jan 2018 18:00:41 +0000 Subject: Add json rules for somerset --- src/main/input-output/input/sol_preset_types.cpp | 32 +++++++++++++++++++++++- 1 file changed, 31 insertions(+), 1 deletion(-) (limited to 'src/main') diff --git a/src/main/input-output/input/sol_preset_types.cpp b/src/main/input-output/input/sol_preset_types.cpp index 8bff279..89a5842 100644 --- a/src/main/input-output/input/sol_preset_types.cpp +++ b/src/main/input-output/input/sol_preset_types.cpp @@ -23,7 +23,8 @@ std::map sol_preset_types::mp = { "count": 8, "build order": "descending", "build policy": "any-suit", - "spaces policy": "any" + "spaces policy": "any", + "diagonal deal": true }, "max rank": 13, "hole": false, @@ -236,6 +237,35 @@ std::map sol_preset_types::mp = { "reserve size": 2, "reserve stacked": true } +)" + + }, + { + "somerset", + + R"( +{ + "tableau piles": { + "count": 10, + "build policy": "red-black", + "diagonal deal": true + } +} +)" + + }, + { + "simple-somerset", + + R"( +{ + "tableau piles": { + "count": 4, + "build policy": "red-black", + "diagonal deal": true + }, + "max rank": 2 +} )" } -- cgit v1.2.1