Skip to content

Costava/break-bricks

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Controls

  • 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

License

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

Contributing

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

Screenshots

Break Bricks

Break Bricks