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/golf | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100755 rules/golf (limited to 'rules/golf') diff --git a/rules/golf b/rules/golf new file mode 100755 index 0000000..ef7a6b0 --- /dev/null +++ b/rules/golf @@ -0,0 +1,9 @@ +#!centre + +tableau-size: 7 +build-policy: no-build +foundations-present: false +cards-in-stock: 16 +stock-deal-type: stock-to-hole +hole: true +hole-build-loops: true -- cgit v1.2.1