This project uses the colorama python library to make ANSI escape character sequences.
Read the official colorama documentation here.
The symbols for power-ups are Unicode characters. You can visit this link to know more.
This game was made as a part of the Design and Analysis of Software Systems course, Spring 2021.
A game similar to Brick Breaker, but runs on terminal because flash player is dead.
- If you don't have colorama installed,
pip3 install -r requirements.txt
- To run the game,
python3 main.py
For best results, have your terminal window in full screen mode.
w
to release the ball from the paddlea
to move leftd
to move right;
to quit the game
$
Coin♥
1Up∴
Multi-Ball<>
Expand Paddle><
Shrink Paddleϟ
Fast Ball⥮
Thru-Ball⩃
Paddle-Grab↑
Shooting Paddle✸
Fire Ball
All power-ups are inherited from the PowerUp
class.
Functions such as display
, move
, etc are common for multiple objects.
Multiple classes and objects are used.
Many functions such as activate
, move
, etc are abstracted.