aboutsummaryrefslogtreecommitdiff
path: root/src/main/game_state.h
diff options
context:
space:
mode:
authorthecharlesblake2017-10-27 23:25:50 +0100
committerthecharlesblake2017-10-27 23:36:39 +0100
commita841befd0ecdc0b469d6bc46b209f259358778ec (patch)
tree8ce11ab3208fb499befe8814536a27778c949210 /src/main/game_state.h
parentBH Solver with path outputted, based on user input (diff)
downloadmetasol-a841befd0ecdc0b469d6bc46b209f259358778ec.tar.gz
metasol-a841befd0ecdc0b469d6bc46b209f259358778ec.zip

Add random game generation to bh

Diffstat (limited to 'src/main/game_state.h')
-rw-r--r--src/main/game_state.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main/game_state.h b/src/main/game_state.h
index 3d0d38f..d7a396f 100644
--- a/src/main/game_state.h
+++ b/src/main/game_state.h
@@ -15,6 +15,7 @@
class game_state {
public:
game_state(const rapidjson::Document&);
+ game_state(int seed);
std::vector<game_state> get_next_legal_states() const;
bool is_solved() const;
std::ostream& print(std::ostream&) const;