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

https://github.com/vesche/breakout-curses

breakout clone using python curses
https://github.com/vesche/breakout-curses

breakout curses gamedev python

Last synced: 11 months ago
JSON representation

breakout clone using python curses

Awesome Lists containing this project

README

          

# breakout-curses

This is a primitive [Breakout](https://en.wikipedia.org/wiki/Breakout_(video_game)) clone in Python that I made to learn more about curses.

![gameplay](gameplay.gif)

To play just do:
```
$ git clone https://github.com/vesche/breakout-curses
$ cd breakout-curses
$ python breakout.py
```

Use the left and right arrow keys to move the paddle, and the up arrow to launch the ball.

## Fixing the "paddle stutter"
On most Linux terminals the keyboard auto repeat rate is going to be too high and will make playing the game difficult. To see what your current settings are run `xset -q` and look for the values auto repeat delay and repeat rate.

I recommend you adjust like so for playing: `xset r rate 100`

## Todo
* collision on top of blocks
* increase paddle speed (with bounds checking)