This is an old revision of the document!
A game in which the player has to catch the ball as many times as possible, but loses one life out of three in total every time the ball falls.
The game starts by pressing the start push button. The buttons are used for moving the line that catches the ball.
I have used the libraries: LiquidCrystal.h and avr/interrupt.h, specific for LCDs and interruptions. The game works with two objects of the class Paddle, which are the tools for hitting the ball, an object of the class Ball, which controls the coordinates and movement of the ball in different expected situations and positions where it could land, an object of the class Print Game, which allows us to display messages for beginning the game, who the winner is, the score, and the game itself. The game stops and declares the winner when one of the players reaches 3 points.