diff options
| author | thecharlesblake | 2018-01-09 08:56:24 +0000 |
|---|---|---|
| committer | thecharlesblake | 2018-01-09 08:56:24 +0000 |
| commit | 89bf6ecb16fa6cdf66707f0590a0c1370bf19c4d (patch) | |
| tree | 444ad97baf7f8895167135f3ea41358ebc2212c1 /src/main/game/game_state.h | |
| parent | Add state printing for stock-tableau deal (diff) | |
| download | metasol-89bf6ecb16fa6cdf66707f0590a0c1370bf19c4d.tar.gz metasol-89bf6ecb16fa6cdf66707f0590a0c1370bf19c4d.zip | |
Add logic for stock-tableau deal & 2 deck
Diffstat (limited to 'src/main/game/game_state.h')
| -rw-r--r-- | src/main/game/game_state.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main/game/game_state.h b/src/main/game/game_state.h index f43348f..8f7bf57 100644 --- a/src/main/game/game_state.h +++ b/src/main/game/game_state.h @@ -56,12 +56,13 @@ public: friend std::ostream& operator<< (std::ostream&, const game_state&); private: - static std::vector<card> gen_shuffled_deck(int, int); + static std::vector<card> gen_shuffled_deck(int, int, bool); // Private constructor explicit game_state(const sol_rules&); // Used in get_legal_moves() + move get_stock_tableau_move() const; bool is_valid_tableau_move(pile_ref, pile_ref) const; bool is_valid_foundations_move(pile_ref, pile_ref) const; bool is_valid_hole_move(pile_ref) const; |
