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.json | 16 ---------------- 1 file changed, 16 deletions(-) delete mode 100644 rules/klondike.json (limited to 'rules/klondike.json') diff --git a/rules/klondike.json b/rules/klondike.json deleted file mode 100644 index 88af397..0000000 --- a/rules/klondike.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "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