aboutsummaryrefslogtreecommitdiff
path: root/src/main/input-output/input/json-parsing
diff options
context:
space:
mode:
authorthecharlesblake2018-09-29 12:59:37 +0100
committerthecharlesblake2018-09-29 15:15:05 +0100
commite55ca08eb9b3d46c8bb6fe0158450061c927a3e0 (patch)
tree421352cc940c80aa34b234f2abda92534127be6e /src/main/input-output/input/json-parsing
parentFix wrapping logic (diff)
downloadmetasol-e55ca08eb9b3d46c8bb6fe0158450061c927a3e0.tar.gz
metasol-e55ca08eb9b3d46c8bb6fe0158450061c927a3e0.zip

Correct legal moves for found base & remove wraps

Diffstat (limited to 'src/main/input-output/input/json-parsing')
-rw-r--r--src/main/input-output/input/json-parsing/rules_parser.cpp11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/main/input-output/input/json-parsing/rules_parser.cpp b/src/main/input-output/input/json-parsing/rules_parser.cpp
index 2698e68..bcff1fd 100644
--- a/src/main/input-output/input/json-parsing/rules_parser.cpp
+++ b/src/main/input-output/input/json-parsing/rules_parser.cpp
@@ -201,14 +201,6 @@ void rules_parser::modify_sol_rules(sol_rules& sr, Document& d) {
}
}
- if (d["tableau piles"].HasMember("wraps")) {
- if (d["tableau piles"]["wraps"].IsBool()) {
- sr.tableau_wraps = d["tableau piles"]["wraps"].GetBool();
- } else {
- json_helper::json_parse_err("[tableau piles][wraps] must be a boolean");
- }
- }
-
} else {
json_helper::json_parse_err("[tableau piles] must be an object");
}
@@ -552,9 +544,6 @@ string rules_parser::rules_schema_json() {
"diagonal deal": {
"type": "boolean"
},
- "wraps": {
- "type": "boolean"
- },
"move built group": {
"type": "string",
"enum": [