aboutsummaryrefslogtreecommitdiff
path: root/src/main/sol_rules.h
blob: 83bbfb27de7ef63c187879065efdad9ad6148e95 (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
//
// Created by thecharlesblake on 10/28/17.
//

#ifndef SOLVITAIRE_SOL_RULES_H
#define SOLVITAIRE_SOL_RULES_H

#include <vector>
#include <string>

struct sol_rules {
    static enum class valid_sol;
    static std::vector<std::string> valid_sol_strs;

    sol_rules(std::string);

    int tableau_pile_count;
    int max_rank;
    bool hole;
    bool foundations;

private:
    static valid_sol valid_sol_enum(const std::string&);
};


#endif //SOLVITAIRE_SOL_RULES_H