diff options
| author | thecharlesblake | 2017-10-28 10:13:13 +0100 |
|---|---|---|
| committer | thecharlesblake | 2017-10-28 10:13:13 +0100 |
| commit | 70522b28586ba117ff9e1e27c8f4b183f8414fd1 (patch) | |
| tree | 7ab7edafbbec14406f876e2bca72b0eb69411b26 /src/main/main.cpp | |
| parent | Add random game generation to bh (diff) | |
| download | metasol-70522b28586ba117ff9e1e27c8f4b183f8414fd1.tar.gz metasol-70522b28586ba117ff9e1e27c8f4b183f8414fd1.zip | |
Add simple and regular bh types
Diffstat (limited to 'src/main/main.cpp')
| -rw-r--r-- | src/main/main.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/main.cpp b/src/main/main.cpp index ae5e00b..cc1df9f 100644 --- a/src/main/main.cpp +++ b/src/main/main.cpp @@ -24,7 +24,7 @@ int main(int argc, const char* argv[]) { int seed = clh.get_random_deal(); if (seed >= 0) { - game_state gs(seed); + game_state gs(seed, clh.get_solitaire_type()); solver sol(gs); cout << "Attempting to solve with seed: " << seed << "...\n"; @@ -39,7 +39,7 @@ int main(int argc, const char* argv[]) { deal_parser::parse(doc, input_json); // Creates a game state object from the json, plus a solver - game_state gs(doc); + game_state gs(doc, clh.get_solitaire_type()); solver sol(gs); cout << "Attempting to solve " << input_json << "...\n"; |
