GithubHelp home page GithubHelp logo

mani-shailesh / break-the-bricks Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 1.4 MB

Traditional 'Break the Bricks' game implemented using OpenGL

License: MIT License

C++ 97.56% CMake 1.30% Makefile 1.14%

break-the-bricks's Introduction

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.

break-the-bricks's People

Contributors

mani-shailesh avatar utkarshrpr avatar

Watchers

 avatar  avatar

break-the-bricks's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.