diff options
Diffstat (limited to 'src/main/sol_rules.h')
| -rw-r--r-- | src/main/sol_rules.h | 60 |
1 files changed, 0 insertions, 60 deletions
diff --git a/src/main/sol_rules.h b/src/main/sol_rules.h deleted file mode 100644 index 44b83bb..0000000 --- a/src/main/sol_rules.h +++ /dev/null @@ -1,60 +0,0 @@ -// -// Created by thecharlesblake on 10/28/17. -// - -#ifndef SOLVITAIRE_SOL_RULES_H -#define SOLVITAIRE_SOL_RULES_H - -#include <vector> -#include <string> - -class sol_rules { -public: - enum class valid_sol { - BLACK_HOLE, - SIMPLE_BLACK_HOLE, - SPANISH_PATIENCE, - SIMPLE_SPANISH_PATIENCE, - FREE_CELL, - SIMPLE_FREE_CELL, - CANFIELD, - SIMPLE_CANFIELD - }; - enum class build_order { - NO_BUILD, - DESCENDING, - ASCENDING, - BOTH, - SINGLE_CARD - }; - enum class build_policy { - CLUBS, - DIAMONDS, - HEARTS, - SPADES, - ANY_SUIT, - SAME_SUIT, - RED_BLACK - }; - - static std::vector<std::string> valid_sol_strs; - static bool is_suit(build_policy); - static int suit_val(build_policy); - - sol_rules(std::string); - - unsigned int tableau_pile_count; - build_order build_ord; - build_policy build_pol; - unsigned int max_rank; - bool hole; - bool foundations; - unsigned int cells; - unsigned int reserve_size; - unsigned int stock_size; - -private: - static valid_sol valid_sol_enum(const std::string&); -}; - -#endif //SOLVITAIRE_SOL_RULES_H |
