An open API service indexing awesome lists of open source software.

https://github.com/astrofrog/bricks


https://github.com/astrofrog/bricks

Last synced: 27 days ago
JSON representation

Awesome Lists containing this project

README

          

About
=====

Experimental clone of the classic [Breakout](https://en.wikipedia.org/wiki/Breakout_(video_game)) game. This is just for fun
and to experiment with the [pyglet](http://www.pyglet.org) library.

![screenshot](screenshot.png)

**Disclaimer:** This is not feature complete in any way (for example there are no scores yet), and is also not meant to be the fastest/most efficient implementation.

Installing
==========

This requires [Numpy](http://www.numpy.org),
[Matplotlib](http://www.matplotlib.org), and [Pyglet](http://pyglet.org). All three can be installed by pip if needed:

pip install numpy
pip install matplotlib
pip install pyglet

For now this repository is not a package, so you don't need to install it - just clone the repository and you are good to go:

git clone https://github.com/astrofrog/bricks
cd bricks

Running
=======

To run:

python bricks.py

If the ball hits the bottom of the screen, just click to start the ball again.

Customizing
===========

All visual aspects of the game can be edited in ``settings.py`` for now.