This is a puzzle game built using modern OpenGL (version 3.3+) and C++. The game features a variety of puzzle levels that the player must solve by manipulating blocks on a grid.
- Modern OpenGL graphics with support for shaders and textures
- Dynamic camera control and movement
- Customizable game board with adjustable grid size and block colors
- Smooth animation and visual effects
- Intuitive user interface with mouse and keyboard controls
To run the game, you will need to have the following dependencies installed:
- C++ compiler (e.g., GCC, Clang, MSVC)
- GLFW library for window management and input
- GLAD library for OpenGL function loading
- GLM library for math operations
Once you have these dependencies installed, you can follow these steps to build and run the game:
- Clone the repository:'git clone https://codeberg.org/TTareqHB/Puzzle.git'
- Mouse: Use the mouse to interact with the game board and UI elements.
- Keyboard:
WASD
orArrow Keys
: Move the PuzzleSpace
: Reset the game boardEscape
: Quit the game
You can customize the game by modifying the following parameters in the include/config.hpp
file:
GRID_SIZE
: The size of the game board (e.g., 5x5, 7x7)BLOCK_SIZE
: The size of each block on the game boardBOARD_COLOR
: The color of the game boardBLOCK_COLOR
: The color of the blocks on the game board
Contributions to this project are welcome! If you find any issues or have ideas for improvements, please feel free to open an issue or submit a pull request.