aboutsummaryrefslogtreecommitdiff
path: root/src/main/game_state.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/game_state.h')
-rw-r--r--src/main/game_state.h6
1 files changed, 4 insertions, 2 deletions
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 <vector>
#include <ostream>
+#include <string>
#include <rapidjson/document.h>
@@ -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<game_state> 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<std::vector<card> > tableau_piles;
int max_rank;