This is a project for a simple 2D game developed using C++ and the SFML library.
The core concept of the game is to reassemble an image puzzle. The picture is divided into square pieces, and the player's task is to reconstruct the image by manipulating falling fragments. These pieces can be rotated and flipped (horizontally or vertically) to fit the target layout.
Navigation within the menu is handled via mouse movement and left-clicks, while the gameplay itself is managed through keyboard inputs. Players can fully customize these inputs in the Controls panel within the main menu.
The game offers various settings to adjust the difficulty. Players can choose which image to solve, how fast the pieces fall, and the density of the grid (the number of divisions). These can be configured in the Options menu.
To ensure a seamless experience, all settings and keybindings are automatically saved to a JSON configuration file. This persistence means that once you change a setting, it remains saved even after closing the game.
Furthermore, the levels are not hard-coded into the game engine. If you wish to add a new picture, adjust speed increments, or change division options, you only need to modify the data.json file and add the corresponding image to the assets folder.
Feel free to enjoy and experiment with our game!