Skip to content

A game made using PyGame under CodeClub as a learning project.

License

Notifications You must be signed in to change notification settings

thealphadollar/brkout

Repository files navigation

BrkOut

forthebadge made-with-python
Gitter

A prison escape game with a blend of brick breaking gameplay and innovative implementation of the same to get the look of an escape.

Screenshots and Gameplay

When you decide to escape alt text

As you fight your way through the unbreakable wall alt text

You realise that escape might not be as easy as you thought alt text

And when you finally taste the free air after numerous attempts alt text

Prerequisite

Python2 or Python 3 are the default languages needed for playing this game [on Linux], to check which version of Python you have, type the following in terminal:

python --version

Downloading Brkout and Playing

You can use the below commands.

sudo apt-get install python-pip
pip install --upgrade pip
pip install brkout

If this does not work, then

sudo -H pip install brkout

For more info, visit Pygame download page

Developing on the Game

On Linux

  1. Clone the branch on your local machine:
git clone https://github.com/thealphadollar/brkout.git
  1. Install pipenv (pip3 install pipenv) and then install all dependencies (pipenv install --dev).
  2. Make the required changes
  3. Test the game by running python3 -m game from the repository's directory.
  4. Send a Pull Request

On Windows

  1. Clone the repository by the method appropriate for the Git interface you are using.
  2. Install Python 3.x
  3. Install the future library
pip install future
  1. Start the game using
python -m game
  1. pip install any missing libraries
  2. Always pull changes from the main repo before adding your changes
git pull upstream master
  1. Create a new branch to work on feature
git branch <feature_branch>
  1. Make it the working branch
git checkout <feature_branch>
  1. Commit your changes
  2. Merge your feature branch to the master branch when all the changes are done
git checkout master
git merge <feature_branch>
  1. Push your changes to your fork by
git push origin master
  1. Create a new Pull Request on the main repo
  2. Make any required changes
  3. When the PR is merged, repeat #6 - #14

Gameplay Help

  1. The game can be controlled using arrows keys or the 'w', 'a', 's' and 'd' keys.
  2. Spacebar and enter key both act as the selection key.
  3. Spacebar or escape key can be used to pause the game.
  4. Choose the required difficulty level by clicking on it.
  5. Reset the highscore, if needed, by clicking on the 'reset' icon.
  6. The game can also be played with a Joystick, which has to be plugged in before you launch the game.It works well with AMKETTE game pad but any standard game pad would also work.

Powerups

Currently 5 types of powerups are in the game. Go over a powerup to pick it up. Currently active powerups are shown in top left of the screen.

  • Double Damage: Doubles the damge caused to bricks

double_damage

  • Double Power: Sriker's power is doubled

double_power

  • Double Score: Score is doubled

double_score

  • Double Speed: Ball's maximum speed is doubled

double_speed

  • No Friction: Friction is removed temporarily

no_friction

Enjoy The Game

Contribute

Please read CONTRIBUTING.md guide to know more.

Releases

No releases published

Packages

No packages published

Languages