aboutsummaryrefslogtreecommitdiff
path: root/src/main/game_state.h
diff options
context:
space:
mode:
authorCharlie Blake2017-11-11 11:27:28 +0000
committerGitHub2017-11-11 11:27:28 +0000
commit832b319d482a1fb29e5a673b16ea11ab5edb8d68 (patch)
treef29c4843e60bd06c3d04f7abb398c08da22136c7 /src/main/game_state.h
parentMerge pull request #18 from thecharlesblake/docs (diff)
parentAdd game state printing and fix bugs (diff)
downloadmetasol-832b319d482a1fb29e5a673b16ea11ab5edb8d68.tar.gz
metasol-832b319d482a1fb29e5a673b16ea11ab5edb8d68.zip

Merge pull request #19 from thecharlesblake/canfield

Canfield

Diffstat (limited to 'src/main/game_state.h')
-rw-r--r--src/main/game_state.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/main/game_state.h b/src/main/game_state.h
index 97a1bec..424c678 100644
--- a/src/main/game_state.h
+++ b/src/main/game_state.h
@@ -39,12 +39,16 @@ private:
void print_cells(std::ostream&) const;
void print_tableau_piles(std::ostream&) const;
void print_hole(std::ostream&) const;
+ void print_pile(std::ostream&, const pile&) const;
std::vector<pile> tableau_piles;
std::vector<pile> cells;
std::vector<pile> foundations;
- sol_rules rules;
+ pile waste;
+ pile reserve;
+ pile stock;
pile hole;
+ sol_rules rules;
};