Abstract:
This is a game which simulates the plain mechanical collisions of the bodies according to their mass and shape. There are approached three kinds of collision: circle to circle, circle to rectangle and rectangle to rectangle collision. It has two difficulty levels. At the beginning of each level there are explained the rules and the changes in gameplay. The player uses its mouse in order to move the target. The application was performed using the Processing programming language. According to the problem solution, the program was divided into eight parts.