back to scratko.xyz
aboutsummaryrefslogtreecommitdiff
path: root/puzzle.cpp
Commit message (Collapse)AuthorAgeFilesLines
* July updateHEADmasterscratko2025-07-251-2/+2
| | | | | | | | | | | | | 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.
* Including resources in the object filescratko2024-11-221-13/+44
| | | | | Convert pictures to array data (image_converter/converter.c) Resources are located in image_converter/resources.o
* Fixed memory leakscratko2024-11-211-4/+28
| | | | | | 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-3/+26
| | | | | Added a dialog box about. Checks if the selected file is correct.
* Uploading custom imagesscratko2024-11-181-3/+3
|
* Added A* solution algorithmscratko2024-11-161-5/+12
|
* Added menu-bar and file chooserscratko2024-11-121-1/+1
|
* Added end game checkscratko2024-11-111-7/+2
|
* Checking the solvability of puzzlesscratko2024-11-091-1/+19
|
* Moving slidesscratko2024-11-091-11/+18
| | | | | | Changed to 8 puzzles Added reaction to clicking a puzzle Puzzles are moved to vector
* Initial commitscratko2024-10-251-0/+68
Creating widgets with a split image