aboutsummaryrefslogtreecommitdiff
path: root/src/main/sol_rules.h
diff options
context:
space:
mode:
authorCharlie Blake2017-11-07 10:00:41 +0000
committerGitHub2017-11-07 10:00:41 +0000
commit45a4fa8ddeaa707e63e0dc88fcb7e561c5ecf9d9 (patch)
tree2b0301e9198a6d56afb60055ef6aeb68b466e047 /src/main/sol_rules.h
parentMerge pull request #16 from thecharlesblake/docs (diff)
parentFixup cell/foundation mixup and printing errs (diff)
downloadmetasol-45a4fa8ddeaa707e63e0dc88fcb7e561c5ecf9d9.tar.gz
metasol-45a4fa8ddeaa707e63e0dc88fcb7e561c5ecf9d9.zip

Merge pull request #17 from thecharlesblake/free-cell

Free cell

Diffstat (limited to 'src/main/sol_rules.h')
-rw-r--r--src/main/sol_rules.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/main/sol_rules.h b/src/main/sol_rules.h
index 671e8b7..5699ef1 100644
--- a/src/main/sol_rules.h
+++ b/src/main/sol_rules.h
@@ -14,13 +14,16 @@ public:
BLACK_HOLE,
SIMPLE_BLACK_HOLE,
SPANISH_PATIENCE,
- SIMPLE_SPANISH_PATIENCE
+ SIMPLE_SPANISH_PATIENCE,
+ FREE_CELL,
+ SIMPLE_FREE_CELL
};
enum class build_order {
NO_BUILD,
DESCENDING,
ASCENDING,
- BOTH
+ BOTH,
+ SINGLE_CARD
};
enum class build_policy {
CLUBS,
@@ -42,6 +45,7 @@ public:
int max_rank;
bool hole;
bool foundations;
+ int cells;
private:
static valid_sol valid_sol_enum(const std::string&);