aboutsummaryrefslogtreecommitdiff
path: root/resources
diff options
context:
space:
mode:
authorCharlie Blake2017-11-14 02:24:07 +0000
committerGitHub2017-11-14 02:24:07 +0000
commit995ef52047458e1d59c396df7148ae55b7b93a3c (patch)
treee2d76d46bb435d01760bb01db9e4123f33063a2d /resources
parentMerge pull request #20 from thecharlesblake/initial-code-cleanup (diff)
parentAdd logic for reading preset sols and file json (diff)
downloadmetasol-995ef52047458e1d59c396df7148ae55b7b93a3c.tar.gz
metasol-995ef52047458e1d59c396df7148ae55b7b93a3c.zip

Merge pull request #21 from thecharlesblake/json-rules

Json rules

Diffstat (limited to 'resources')
-rw-r--r--resources/black-hole.json8
-rw-r--r--resources/canfield.json8
-rw-r--r--resources/default.json13
-rw-r--r--resources/free-cell.json6
-rw-r--r--resources/simple-black-hole.json9
-rw-r--r--resources/simple-canfield.json9
-rw-r--r--resources/simple-free-cell.json8
-rw-r--r--resources/simple-spanish-patience.json6
-rw-r--r--resources/spanish-patience.json5
9 files changed, 72 insertions, 0 deletions
diff --git a/resources/black-hole.json b/resources/black-hole.json
new file mode 100644
index 0000000..64ffe76
--- /dev/null
+++ b/resources/black-hole.json
@@ -0,0 +1,8 @@
+{
+ "tableau piles": {
+ "count": 17,
+ "build order": "no-build"
+ },
+ "hole": true,
+ "foundations": false
+} \ No newline at end of file
diff --git a/resources/canfield.json b/resources/canfield.json
new file mode 100644
index 0000000..6ea3824
--- /dev/null
+++ b/resources/canfield.json
@@ -0,0 +1,8 @@
+{
+ "tableau piles": {
+ "count": 4,
+ "build policy": "red-black"
+ },
+ "reserve size": 14,
+ "stock size": 34
+} \ No newline at end of file
diff --git a/resources/default.json b/resources/default.json
new file mode 100644
index 0000000..629c46a
--- /dev/null
+++ b/resources/default.json
@@ -0,0 +1,13 @@
+{
+ "tableau piles": {
+ "count": 8,
+ "build order": "descending",
+ "build policy": "any-suit"
+ },
+ "max rank": 13,
+ "hole": false,
+ "foundations": true,
+ "cells": 0,
+ "reserve size": 0,
+ "stock size": 0
+} \ No newline at end of file
diff --git a/resources/free-cell.json b/resources/free-cell.json
new file mode 100644
index 0000000..12c1bdf
--- /dev/null
+++ b/resources/free-cell.json
@@ -0,0 +1,6 @@
+{
+ "tableau piles": {
+ "build policy": "red-black"
+ },
+ "cells": 4
+} \ No newline at end of file
diff --git a/resources/simple-black-hole.json b/resources/simple-black-hole.json
new file mode 100644
index 0000000..cde2fe1
--- /dev/null
+++ b/resources/simple-black-hole.json
@@ -0,0 +1,9 @@
+{
+ "tableau piles": {
+ "count": 9,
+ "build order": "no-build"
+ },
+ "max rank": 7,
+ "hole": true,
+ "foundations": false
+} \ No newline at end of file
diff --git a/resources/simple-canfield.json b/resources/simple-canfield.json
new file mode 100644
index 0000000..d93e9be
--- /dev/null
+++ b/resources/simple-canfield.json
@@ -0,0 +1,9 @@
+{
+ "tableau piles": {
+ "count": 2,
+ "build policy": "red-black"
+ },
+ "max rank": 2,
+ "reserve size": 2,
+ "stock size": 2
+} \ No newline at end of file
diff --git a/resources/simple-free-cell.json b/resources/simple-free-cell.json
new file mode 100644
index 0000000..15e7994
--- /dev/null
+++ b/resources/simple-free-cell.json
@@ -0,0 +1,8 @@
+{
+ "tableau piles": {
+ "count": 3,
+ "build policy": "red-black"
+ },
+ "max rank": 3,
+ "cells": 1
+} \ No newline at end of file
diff --git a/resources/simple-spanish-patience.json b/resources/simple-spanish-patience.json
new file mode 100644
index 0000000..9680d50
--- /dev/null
+++ b/resources/simple-spanish-patience.json
@@ -0,0 +1,6 @@
+{
+ "tableau piles": {
+ "count": 5
+ },
+ "max rank": 5
+} \ No newline at end of file
diff --git a/resources/spanish-patience.json b/resources/spanish-patience.json
new file mode 100644
index 0000000..2ffec07
--- /dev/null
+++ b/resources/spanish-patience.json
@@ -0,0 +1,5 @@
+{
+ "tableau piles": {
+ "count": 13
+ }
+} \ No newline at end of file