20200530 124859

by Viji D


The BrickBreaker Game:The colored rectangles in the top part of the screen are bricks, and the slightly larger rectangle at the bottom is the paddle. The ball is launched from the center of the window toward the bottom of the screen at a random angle which is hit by the paddle without hitting the bottom wall and it bounces and deletes the bricks at the top. There are 3 turns given for missing the paddle. If all the turns are over and bricks are remaining a message is popped up saying " You Lost - No Lives Remaining". If the users breaks all the bricks with one or more lives remaining a winning message is displayed " You Won!! Game Over! ".