Skip to content
/ Puzzle Public

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.

Notifications You must be signed in to change notification settings

tarook0/Puzzle

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Puzzle Game with OpenGL Modern

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.

Features

  • 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

Getting Started

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:

  1. Clone the repository:'git clone https://codeberg.org/TTareqHB/Puzzle.git'

Controls

  • Mouse: Use the mouse to interact with the game board and UI elements.
  • Keyboard:
  • WASD or Arrow Keys: Move the Puzzle
  • Space: Reset the game board
  • Escape: Quit the game

Customization

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 board
  • BOARD_COLOR: The color of the game board
  • BLOCK_COLOR: The color of the blocks on the game board

Contribute

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.

About

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.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published