Move solving logic to a separate class

This commit is contained in:
Drew Galbraith 2023-05-03 23:56:29 -07:00
parent 3dc9f04650
commit dd89c1fd6c
4 changed files with 40 additions and 8 deletions

14
solver/solver.h Normal file
View file

@ -0,0 +1,14 @@
#pragma once
#include "puzzle.h"
class Solver {
public:
Solver(std::string puzz_string);
bool Solve();
std::string State();
std::string StateUrl();
private:
Puzzle puzzle_;
};