From f91cd251fd40d927254246e9276924af3e046dd1 Mon Sep 17 00:00:00 2001 From: thecharlesblake Date: Mon, 6 Nov 2017 15:35:10 +0000 Subject: Add cells to game state and next state generation --- src/main/pile.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/main/pile.cpp') diff --git a/src/main/pile.cpp b/src/main/pile.cpp index cceda50..344e56c 100644 --- a/src/main/pile.cpp +++ b/src/main/pile.cpp @@ -34,6 +34,8 @@ bool pile::can_place(const card& c) const { if (build_order == ord::NO_BUILD) { return false; + } else if (build_order == ord::SINGLE_CARD) { + return empty(); } if (empty()) { -- cgit v1.2.1