A prison escape game with a blend of brick breaking gameplay and innovative implementation of the same to get the look of an escape.
As you fight your way through the unbreakable wall
You realise that escape might not be as easy as you thought
And when you finally taste the free air after numerous attempts
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
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
- Clone the branch on your local machine:
git clone https://github.com/thealphadollar/brkout.git
- Install pipenv (
pip3 install pipenv
) and then install all dependencies (pipenv install --dev
). - Make the required changes
- Test the game by running
python3 -m game
from the repository's directory. - Send a Pull Request
- Clone the repository by the method appropriate for the Git interface you are using.
- Install Python 3.x
- Install the future library
pip install future
- Start the game using
python -m game
- pip install any missing libraries
- Always pull changes from the main repo before adding your changes
git pull upstream master
- Create a new branch to work on feature
git branch <feature_branch>
- Make it the working branch
git checkout <feature_branch>
- Commit your changes
- Merge your feature branch to the master branch when all the changes are done
git checkout master
git merge <feature_branch>
- Push your changes to your fork by
git push origin master
- Create a new Pull Request on the main repo
- Make any required changes
- When the PR is merged, repeat #6 - #14
- The game can be controlled using arrows keys or the 'w', 'a', 's' and 'd' keys.
- Spacebar and enter key both act as the selection key.
- Spacebar or escape key can be used to pause the game.
- Choose the required difficulty level by clicking on it.
- Reset the highscore, if needed, by clicking on the 'reset' icon.
- 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.
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 Power: Sriker's power is doubled
- Double Score: Score is doubled
- Double Speed: Ball's maximum speed is doubled
- No Friction: Friction is removed temporarily
Please read CONTRIBUTING.md guide to know more.