From 70522b28586ba117ff9e1e27c8f4b183f8414fd1 Mon Sep 17 00:00:00 2001 From: thecharlesblake Date: Sat, 28 Oct 2017 10:13:13 +0100 Subject: Add simple and regular bh types --- src/main/game_state.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/main/game_state.h') diff --git a/src/main/game_state.h b/src/main/game_state.h index d7a396f..ff92247 100644 --- a/src/main/game_state.h +++ b/src/main/game_state.h @@ -7,6 +7,7 @@ #include #include +#include #include @@ -14,8 +15,8 @@ class game_state { public: - game_state(const rapidjson::Document&); - game_state(int seed); + game_state(const rapidjson::Document&, std::string); + game_state(int seed, std::string); std::vector get_next_legal_states() const; bool is_solved() const; std::ostream& print(std::ostream&) const; @@ -25,6 +26,7 @@ public: private: void move_to_hole(int); bool adjacent(const card& a, const card& b) const; + bool simple; std::vector > tableau_piles; int max_rank; -- cgit v1.2.1