blob: 56701c7b3bc34da7489e92b302144a79d4f1cc95 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
//
// Created by thecharlesblake on 10/28/17.
//
#ifndef SOLVITAIRE_SOL_RULES_H
#define SOLVITAIRE_SOL_RULES_H
#include <vector>
#include <string>
struct sol_rules {
enum class valid_sol {
BLACK_HOLE,
SIMPLE_BLACK_HOLE,
SPANISH_PATIENCE
};
enum class tab_build_order {
NO_BUILD,
DESCENDING,
};
static std::vector<std::string> valid_sol_strs;
sol_rules(std::string);
int tableau_pile_count;
tab_build_order build_order;
int max_rank;
bool hole;
bool foundations;
private:
static valid_sol valid_sol_enum(const std::string&);
};
#endif //SOLVITAIRE_SOL_RULES_H
|