Traditional 'Break the Bricks' game implemented using OpenGL
The basic gameplay of 'Break the Bricks' involves the following key rules/steps:
- The main objective of the game is to break all the bricks in as minimum time as possible.
- The ball starts with a random velocity and gains speed in proportion to the number of bricks destroyed.
- The scoreboard shows the time taken by the player to reach the current state.
- The player can resize the game window as per her convenience. The elements of the playground will resize in the same ratio.
- The horizontal velocity of the ball depends on the distance of the point of collision from the centre of the platorm. This gives control of the ball to the user.
- Left Arrow : Move the platform towards left
- Right Arrow : Move the platform towards right
- Space : Pause/Resume the game
- R : Restart the game (Press 'R' key twice in a succession)
- F : Toggle fullscreen
- Q : Quit
- Completely scalable at different screen sizes and resolutions.
- Uses textures to make the game feel real.
- Displays text on screen and updates it to show current time etc.
- Saves and updates best time on the device over different runs of the game.
- Well structured and engineered code structure.
- Does automatic error handling like creating missing directories etc.