Skip to content


Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?

Latest commit


Git stats


Failed to load latest commit information.
Latest commit message
Commit time

Break Bricks

  • Game/demo similar to the game Breakout
  • Written in C
  • On purpose, there is no "vector2" struct, in order to see how that would turn out
  • The included makefile does incremental compilation
  • The assets are not checked into the git repo and can be downloaded from here
  • Dependencies:
    • C standard library
    • SDL2
    • SDL2_image

Break Bricks

How to run

  1. Clone the repo
  2. Download the assets from here. Extract the assets folder to the top level of the repo.
  3. make init
  4. make run


  • Control the paddle with the mouse
  • f: Toggle fullscreen
  • r: Reset the game
  • w: Double the speed of the ball
  • s: Cut the speed of the ball in half
  • F12: Save a screenshot to the screenshots folder


The contents of the git repo are available under the GNU General Public License Version 3. See file LICENSE.

The assets are available under the license Attribution-NonCommercial-ShareAlike 4.0 International (CC BY-NC-SA 4.0).
You can download the assets here


Not currently accepting contributions.
Feel free to open an issue.


Break Bricks

Break Bricks