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/willothewisp | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100755 rules/willothewisp (limited to 'rules/willothewisp') diff --git a/rules/willothewisp b/rules/willothewisp new file mode 100755 index 0000000..1235f3c --- /dev/null +++ b/rules/willothewisp @@ -0,0 +1,12 @@ +#!centre + +tableau-size: 7 +build-policy: any-suit +move-built-group: yes +group-build-policy: same-suit +face-up-policy: all + +foundations-only-complete-pile-moves: false + +cards-in-stock: 31 +stock-deal-type: stock-to-tableau -- cgit v1.2.1