I have come up with a brick-breaker game, something in vein of the popular blackberry brick-breaker game.
A set of bricks will be arranged above the bar with the help of which player will be able to swerve the ball in order to hit bricks. Once all the bricks are destroyed by the ball, player wins the game.
The game is easy and fun to play. It can be enjoyed by anybody, be it a small kid or an old man. The learning curve is almost negligible and the game is not time consuming.
3 Levels are as follows
I have used Python 3.9 as the language to create our game.
I have used Tkinter to create GUI of the game.
A scoring system that corresponds when Brick gets hit by the Ball.
A very flexible level system.
With multiple lives.
Vibrant Brick Colours producing various effects like Ball Fire, Shield, Ball Tall, Bar Tall.
Bricks and Ball made with Bresenham algorithms.
Brick Breaker is actually made up of 2 programs :
editor.py - Where we have put program to create/edit levels for playing brick breaker.
Game.py - Program to play Brick Breaker Game.
Basically, this is how game.py works :
Creation of the GUI Window, The Bar, The Bricks, The Ball, Level, Score and the Lives.
Resetting the components mentioned : The bar is placed at the bottom center. The ball is placed on the bar.
To conclude brick breaker is real time game, which implement concepts of Computer Graphics and the game world.
The realization of game also allowed us to know more in depth python, to discover Tkinter, to write and create algorithms and force us to design our program as clearly as possible.