From 77a7aeba7854d15b140cc6dc3c69b15ed5f3b936 Mon Sep 17 00:00:00 2001 From: thecharlesblake Date: Wed, 3 Jan 2018 12:30:14 +0000 Subject: Major refactor, putting pile logic into game_state Much of the logic that was in the pile class was beginning to seem out of place. A lot of the rules have fairly arbitrary interactons *between* piles, which weren't best represented in the pile classes themselves, which were getting unweildy and inefficient. Hence, much of this logic has been moved to the game state class. --- resources/black-hole.json | 2 +- resources/simple-black-hole.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'resources') diff --git a/resources/black-hole.json b/resources/black-hole.json index 64ffe76..daab27c 100644 --- a/resources/black-hole.json +++ b/resources/black-hole.json @@ -1,7 +1,7 @@ { "tableau piles": { "count": 17, - "build order": "no-build" + "build policy": "no-build" }, "hole": true, "foundations": false diff --git a/resources/simple-black-hole.json b/resources/simple-black-hole.json index 9aee62f..16ef52d 100644 --- a/resources/simple-black-hole.json +++ b/resources/simple-black-hole.json @@ -1,7 +1,7 @@ { "tableau piles": { "count": 4, - "build order": "no-build" + "build policy": "no-build" }, "max rank": 5, "hole": true, -- cgit v1.2.1