This is a simple brickout-game. It's includes ball, paddle, brick wall and additional collision detection between this objects. Furthermore logic for winning and losing and scoring.
The game runs at 60FPS.
I used a code sample for the basic structure of pygame from this site http://programarcadegames.com/.
- Python ~2.7
- Pip
# Run this command
sudo pip install -r requirements.txt
# Setup your secret key (Optional)
export SECRET_KEY="Your Secret key"
# Assuming homebrew is installed already:
brew install mercurial
brew install sdl sdl_image sdl_mixer sdl_ttf portmidi
brew install smpeg
# You can new install Pygame
sudo -H pip install hg+http://bitbucket.org/pygame/pygame
# Run this command
sh run.sh
Note that you will need to navigate to http://localhost:5000 to authenticate your Pavlok with the browser.