/Bouncing-Ball-Game

A game made from c++ and OpenGL

Primary LanguageC++

Bouncing-Ball-Game

A game made from C++ and OpenGL.

This interactive game is made using openGL. In this game, you have to keep the ball in the game window by preventing it from falling. There is a ball which you can bounce using the space key. There are platforms which have randomly generated length and height(out of three heights). You have to press the space button on the right moments such that ball lands from one platform to another. The game is infinite and the more you stay, more you score. Here are some screenshots of the game. image1 image2 image3

How to run the game?

These are the steps for running the above game.

  1. Clone the repository or download the files on your local machine.
  2. Do the following instruction depending on your os:
    i) Linux or MacOS : Open the terminal and go to the directory in which files are present. On the terminal type ./BouncingBall.exe and hit enter.
    ii) Windows : Open the file named BouncingBall.exe.
  3. Enjoy the game...