back to scratko.xyz
aboutsummaryrefslogtreecommitdiff
path: root/puzzle.hpp
Commit message (Collapse)AuthorAgeFilesLines
* July updateHEADmasterscratko2025-07-251-8/+17
| | | | | | | | | | | | | Added const qualifiers is_next_to_empty_box() became visible to other files(). The size of the main window has been changed. Checking whether the A* algorithm has been launched before starting a new game or the same A* algorithm. Fixed indentation in lambda expressions. The initial node is added to open_queue without additional creation of dynamic memory (the address of the object field is taken). Fixed PQ_cont.erase(). IsNearEmptyBox was removed(). EqualNode moved to the Node class.
* Refactoring in classesscratko2025-02-241-5/+4
| | | | Moved friend declarations in classes
* Renaming and changed README filescratko2024-11-261-0/+3
|
* Including resources in the object filescratko2024-11-221-0/+1
| | | | | Convert pictures to array data (image_converter/converter.c) Resources are located in image_converter/resources.o
* Fixed memory leakscratko2024-11-211-3/+10
| | | | | | The image widget is responsible for deleting the loaded part of the image Check for correct type of selected file Error checking after image upload
* Random image selectionscratko2024-11-181-1/+2
| | | | | Added a dialog box about. Checks if the selected file is correct.
* Added A* solution algorithmscratko2024-11-161-2/+10
|
* Added menu-bar and file chooserscratko2024-11-121-1/+1
|
* Added end game checkscratko2024-11-111-6/+11
|
* Checking the solvability of puzzlesscratko2024-11-091-0/+2
|
* Moving slidesscratko2024-11-091-13/+19
| | | | | | Changed to 8 puzzles Added reaction to clicking a puzzle Puzzles are moved to vector
* Initial commitscratko2024-10-251-0/+45
Creating widgets with a split image