diff options
| -rw-r--r-- | resources/default.json | 2 | ||||
| -rw-r--r-- | resources/simple-spider.json | 9 | ||||
| -rw-r--r-- | resources/spider.json | 8 | ||||
| -rw-r--r-- | src/main/input-output/input/sol_preset_types.cpp | 35 |
4 files changed, 53 insertions, 1 deletions
diff --git a/resources/default.json b/resources/default.json index 5d4df74..3a9800d 100644 --- a/resources/default.json +++ b/resources/default.json @@ -8,11 +8,13 @@ "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 }
\ No newline at end of file diff --git a/resources/simple-spider.json b/resources/simple-spider.json new file mode 100644 index 0000000..b931efb --- /dev/null +++ b/resources/simple-spider.json @@ -0,0 +1,9 @@ +{ + "tableau piles": { + "count": 4 + }, + "two decks": true, + "max rank": 3, + "stock size": 12, + "stock deal type": "tableau piles" +}
\ No newline at end of file diff --git a/resources/spider.json b/resources/spider.json new file mode 100644 index 0000000..4d93a47 --- /dev/null +++ b/resources/spider.json @@ -0,0 +1,8 @@ +{ + "tableau piles": { + "count": 10 + }, + "two decks": true, + "stock size": 60, + "stock deal type": "tableau piles" +}
\ No newline at end of file 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 |
