back to scratko.xyz
aboutsummaryrefslogtreecommitdiff
path: root/puzzle.hpp
diff options
context:
space:
mode:
authorscratko <m@scratko.xyz>2024-11-09 23:56:45 +0300
committerscratko <m@scratko.xyz>2024-11-09 23:56:45 +0300
commit0ddc597a0f2eeb0dc49f8a6ab4a8af0d615b6ece (patch)
treee2020d1a908b589aadad78351b05ab54eaea2148 /puzzle.hpp
parente64c2a9d94bb6e21ac24d7e1ff5915a29bbd67bf (diff)
downloadpicture-puzzle-0ddc597a0f2eeb0dc49f8a6ab4a8af0d615b6ece.tar.gz
picture-puzzle-0ddc597a0f2eeb0dc49f8a6ab4a8af0d615b6ece.tar.bz2
picture-puzzle-0ddc597a0f2eeb0dc49f8a6ab4a8af0d615b6ece.zip
Checking the solvability of puzzles
Diffstat (limited to 'puzzle.hpp')
-rw-r--r--puzzle.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/puzzle.hpp b/puzzle.hpp
index 5b2b2ab..5f51877 100644
--- a/puzzle.hpp
+++ b/puzzle.hpp
@@ -36,6 +36,8 @@ private:
GameParams() {}
void CalculateStandardPuzzlePos();
void ResetFreePuzzles();
+ void NextUntestedPuzzles();
+ bool IsSolvability();
void CreateNewPuzzles();
public:
void NewGame();