SimpleBall_Game-OpenGL-

In this, a ball is moving starting from middle and goes to up-left in starting. But, then it collides with wall and changes direction but speed remain same. Consequently, it comes to downward direction where it should be catched on a rectangle (which is capable of moving in horizontal direction) in order to continue.

Steps to run on your system(Ubuntu)

1.Fork this repo

2.Load the main.c on your system

3.Run the command:- gcc filename.c -lGL -lGLU -lglut -lm

where filename.c is the name of the file

with which this program is saved.

ENJOY!!!!