Skip to content

Latest commit

 

History

History
40 lines (30 loc) · 2.04 KB

README.md

File metadata and controls

40 lines (30 loc) · 2.04 KB

Break the Bricks

license Codacy Badge Category

Description

Traditional 'Break the Bricks' game implemented using OpenGL

Game Description and Rules

The basic gameplay of 'Break the Bricks' involves the following key rules/steps:

  1. The main objective of the game is to break all the bricks in as minimum time as possible.
  2. The ball starts with a random velocity and gains speed in proportion to the number of bricks destroyed.
  3. The scoreboard shows the time taken by the player to reach the current state.
  4. The player can resize the game window as per her convenience. The elements of the playground will resize in the same ratio.
  5. 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.

Screen-shots

Screen-shot 1

Controls

  1. Left Arrow : Move the platform towards left
  2. Right Arrow : Move the platform towards right
  3. Space : Pause/Resume the game
  4. R : Restart the game (Press 'R' key twice in a succession)
  5. F : Toggle fullscreen
  6. Q : Quit

Features

  1. Completely scalable at different screen sizes and resolutions.
  2. Uses textures to make the game feel real.
  3. Displays text on screen and updates it to show current time etc.
  4. Saves and updates best time on the device over different runs of the game.
  5. Well structured and engineered code structure.
  6. Does automatic error handling like creating missing directories etc.