Skip to content

vesche/breakout-curses

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

breakout-curses

This is a primitive Breakout clone in Python that I made to learn more about curses.

gameplay

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)

Releases

No releases published

Packages

No packages published

Languages