diff options
| author | thecharlesblake | 2017-11-06 15:35:10 +0000 |
|---|---|---|
| committer | thecharlesblake | 2017-11-06 15:35:10 +0000 |
| commit | f91cd251fd40d927254246e9276924af3e046dd1 (patch) | |
| tree | d67d93459276986d373a163aeeefa75e2b5c9920 /src/main/pile.cpp | |
| parent | Add FC (reg & simple) to cmdln parsing & sol_rules (diff) | |
| download | metasol-f91cd251fd40d927254246e9276924af3e046dd1.tar.gz metasol-f91cd251fd40d927254246e9276924af3e046dd1.zip | |
Add cells to game state and next state generation
Diffstat (limited to 'src/main/pile.cpp')
| -rw-r--r-- | src/main/pile.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
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()) { |
