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/klondike | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100755 rules/klondike (limited to 'rules/klondike') diff --git a/rules/klondike b/rules/klondike new file mode 100755 index 0000000..18510de --- /dev/null +++ b/rules/klondike @@ -0,0 +1,16 @@ +#!centre + +tableau-size: 7 +build-policy: red-black +spaces-policy: kings +move-built-group: yes +group-build-policy: red-black + +diagonal-deal: true +face-up-policy: top + +foundations-removable: true + +cards-in-stock: 24 +stock-deal-count: 3 +stock-redeal: true -- cgit v1.2.1