From ef291b15a21f2f6cfa98b2c4f2572de5a61a2fa9 Mon Sep 17 00:00:00 2001 From: thecharlesblake Date: Tue, 9 Jan 2018 08:51:11 +0000 Subject: Add json rules for spider --- src/main/input-output/input/sol_preset_types.cpp | 35 +++++++++++++++++++++++- 1 file changed, 34 insertions(+), 1 deletion(-) (limited to 'src/main/input-output/input') 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 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 } @@ -298,6 +300,37 @@ std::map sol_preset_types::mp = { "max rank": 5, "foundations initial card": true } +)" + + }, + { + "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" +} )" } -- cgit v1.2.1