From da3b449ee61fc03eef5f19a8189d4cfcfd000674 Mon Sep 17 00:00:00 2001 From: Tom Harley Date: Thu, 21 Feb 2019 16:30:32 +0000 Subject: Clean up rule description files The files for describing rules have changed a bit: they are no longer `.json` files (although they are still parsed by a JSON parser). The description files are now their own format, with a little less boilerplate required than for JSON files. As a result, rule description files can be given shebangs and be made executable, allowing a user to run the rule file instead of `centre` directly. The rules files in the repository are set up to run `centre` if it is on the user's path. --- rules/canfield | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100755 rules/canfield (limited to 'rules/canfield') diff --git a/rules/canfield b/rules/canfield new file mode 100755 index 0000000..f6d5786 --- /dev/null +++ b/rules/canfield @@ -0,0 +1,16 @@ +#!centre + +tableau-size: 4 +build-policy: red-black +move-built-group: yes +spaces-policy: reserve-first + +foundations-initialised: one +foundations-base: random + +cards-in-stock: 34 +stock-deal-count: 3 +stock-redeal: true + +cards-in-reserve: 13 +reserve-stacked: true -- cgit v1.2.1