Skip to content

Traditional 'Break the Bricks' game implemented using OpenGL

License

Notifications You must be signed in to change notification settings

mani-shailesh/break-the-bricks

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

57 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Traditional 'Break the Bricks' game implemented using OpenGL

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published