From 70522b28586ba117ff9e1e27c8f4b183f8414fd1 Mon Sep 17 00:00:00 2001 From: thecharlesblake Date: Sat, 28 Oct 2017 10:13:13 +0100 Subject: Add simple and regular bh types --- src/main/main.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/main/main.cpp') 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"; -- cgit v1.2.1