diff options
| author | thecharlesblake | 2018-01-05 15:53:30 +0000 |
|---|---|---|
| committer | thecharlesblake | 2018-01-05 15:53:30 +0000 |
| commit | 6f56c50d2678f1640f8c15ff5cfcff03af3f52b2 (patch) | |
| tree | 037b1f5dd5511791e45a03838f9d044068011569 /src/main/input-output | |
| parent | Add flower garden to benchmark script (diff) | |
| download | metasol-6f56c50d2678f1640f8c15ff5cfcff03af3f52b2.tar.gz metasol-6f56c50d2678f1640f8c15ff5cfcff03af3f52b2.zip | |
Add json rules for canfield
Diffstat (limited to 'src/main/input-output')
| -rw-r--r-- | src/main/input-output/input/sol_preset_types.cpp | 36 |
1 files changed, 35 insertions, 1 deletions
diff --git a/src/main/input-output/input/sol_preset_types.cpp b/src/main/input-output/input/sol_preset_types.cpp index 5e0fcff..8bff279 100644 --- a/src/main/input-output/input/sol_preset_types.cpp +++ b/src/main/input-output/input/sol_preset_types.cpp @@ -31,7 +31,8 @@ std::map<string, string> sol_preset_types::mp = { "foundations initial card": false, "cells": 0, "stock size": 0, - "reserve size": 0 + "reserve size": 0, + "reserve stacked": false } )" @@ -204,5 +205,38 @@ std::map<string, string> sol_preset_types::mp = { } )" + }, + { + "canfield", + + R"( +{ + "tableau piles": { + "count": 4, + "build policy": "red-black" + }, + "stock size": 34, + "reserve size": 14, + "reserve stacked": true +} +)" + + }, + { + "simple-canfield", + + R"( +{ + "tableau piles": { + "count": 3, + "build policy": "red-black" + }, + "max rank": 3, + "stock size": 1, + "reserve size": 2, + "reserve stacked": true +} +)" + } };
\ No newline at end of file |
