https://github.com/codelixir/brick-breaker
A terminal-based game based on the classic brick breaker/block breaker game, for the DASS course, Spring 2021.
https://github.com/codelixir/brick-breaker
colorama game python terminal
Last synced: 10 months ago
JSON representation
A terminal-based game based on the classic brick breaker/block breaker game, for the DASS course, Spring 2021.
- Host: GitHub
- URL: https://github.com/codelixir/brick-breaker
- Owner: codelixir
- Created: 2021-05-06T14:13:15.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2021-05-06T17:01:57.000Z (over 4 years ago)
- Last Synced: 2025-02-08T00:19:16.890Z (12 months ago)
- Topics: colorama, game, python, terminal
- Language: Python
- Homepage:
- Size: 860 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
[](https://forthebadge.com)
This project uses the **colorama** python library to make ANSI escape character sequences. \
[Read the official colorama documentation here](https://pypi.org/project/colorama/).
The symbols for power-ups are Unicode characters. You can visit [this link](https://www.alt-codes.net/) to know more.
This game was made as a part of the Design and Analysis of Software Systems course, Spring 2021.
---
# Big Brick Energy
A game similar to Brick Breaker, but runs on terminal because flash player is dead.
## Installation and running
1. If you don't have colorama installed, \
`pip3 install -r requirements.txt`
2. To run the game, \
`python3 main.py` \
For best results, have your terminal window in full screen mode.
## Controls
- `w` to release the ball from the paddle
- `a` to move left
- `d` to move right
- `;` to quit the game
## Power Ups
- `$` Coin
- `♥` 1Up
- `∴` Multi-Ball
- `<>` Expand Paddle
- `><` Shrink Paddle
- `ϟ` Fast Ball
- `⥮` Thru-Ball
- `⩃` Paddle-Grab
- `↑` Shooting Paddle
- `✸` Fire Ball
## Features
### Inheritance
All power-ups are inherited from the `PowerUp` class.
### Polymorphism
Functions such as `display`, `move`, etc are common for multiple objects.
### Encapsulation
Multiple classes and objects are used.
### Abstraction
Many functions such as `activate`, `move`, etc are abstracted.