11-01-2025, 08:31 PM
This is a digital version of a children's game. It is a board with squares, where one square is missing, the squares are shuffled and the goal is to put the squares back together. You can only move the piece that is next to the free space. The same principle applies in the game.
Unlike the original, after starting the program you can choose which version of the game you want to play. There is a choice from 2x2 to 10x10, with the option to set the number of shuffles. There is also a jump or smooth animation and sound when the picture is completed. The 2x2 version is so simple that it often happens that after shuffling the finished state comes out. But I think it is good for understanding the principle. That is why I recommend using the 3x3 and higher options.
Here I use photos from the default folder in your system. All pictures are loaded and then the first of them is divided into pieces. One piece is discarded, the other pieces are placed on the game board and shuffled. The goal is to put the picture back together. By pressing the spacebar, you can see how the assembled image should look. After the image is assembled, the original is released from memory and the next loaded image is processed. If someone solves all the images in their image folder, the program will be terminated. You can always terminate it with the Esc key.
If someone thinks during the game that the pieces are mixed up in such a way that it cannot be solved.... then press the A key. The automatic search for a solution will start and then the automatic completion of a specific image will be completed. This process cannot be interrupted. Automatic solution is not allowed for boards larger than 6x6 with 60 shuffles. I just didn't want to solve it anymore
The program is tested only in Windows.
Unlike the original, after starting the program you can choose which version of the game you want to play. There is a choice from 2x2 to 10x10, with the option to set the number of shuffles. There is also a jump or smooth animation and sound when the picture is completed. The 2x2 version is so simple that it often happens that after shuffling the finished state comes out. But I think it is good for understanding the principle. That is why I recommend using the 3x3 and higher options.
Here I use photos from the default folder in your system. All pictures are loaded and then the first of them is divided into pieces. One piece is discarded, the other pieces are placed on the game board and shuffled. The goal is to put the picture back together. By pressing the spacebar, you can see how the assembled image should look. After the image is assembled, the original is released from memory and the next loaded image is processed. If someone solves all the images in their image folder, the program will be terminated. You can always terminate it with the Esc key.
If someone thinks during the game that the pieces are mixed up in such a way that it cannot be solved.... then press the A key. The automatic search for a solution will start and then the automatic completion of a specific image will be completed. This process cannot be interrupted. Automatic solution is not allowed for boards larger than 6x6 with 60 shuffles. I just didn't want to solve it anymore

The program is tested only in Windows.

