From 83891829f32dcc94db7c73894c04e88ffcd657c3 Mon Sep 17 00:00:00 2001 From: thecharlesblake Date: Mon, 6 Nov 2017 15:13:05 +0000 Subject: Add FC (reg & simple) to cmdln parsing & sol_rules --- src/main/sol_rules.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/main/sol_rules.h') diff --git a/src/main/sol_rules.h b/src/main/sol_rules.h index 671e8b7..aabb57c 100644 --- a/src/main/sol_rules.h +++ b/src/main/sol_rules.h @@ -14,7 +14,9 @@ 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, @@ -42,6 +44,7 @@ public: int max_rank; bool hole; bool foundations; + int cells; private: static valid_sol valid_sol_enum(const std::string&); -- cgit v1.2.1 From f91cd251fd40d927254246e9276924af3e046dd1 Mon Sep 17 00:00:00 2001 From: thecharlesblake Date: Mon, 6 Nov 2017 15:35:10 +0000 Subject: Add cells to game state and next state generation --- src/main/sol_rules.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/main/sol_rules.h') diff --git a/src/main/sol_rules.h b/src/main/sol_rules.h index aabb57c..5699ef1 100644 --- a/src/main/sol_rules.h +++ b/src/main/sol_rules.h @@ -22,7 +22,8 @@ public: NO_BUILD, DESCENDING, ASCENDING, - BOTH + BOTH, + SINGLE_CARD }; enum class build_policy { CLUBS, -- cgit v1.2.1