https://github.com/costava/break-bricks
Game/demo similar to the game Breakout
https://github.com/costava/break-bricks
c sdl2 sdl2-image
Last synced: 8 months ago
JSON representation
Game/demo similar to the game Breakout
- Host: GitHub
- URL: https://github.com/costava/break-bricks
- Owner: Costava
- License: gpl-3.0
- Created: 2020-08-16T04:37:35.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2020-09-25T02:30:46.000Z (almost 6 years ago)
- Last Synced: 2025-02-02T02:13:39.835Z (over 1 year ago)
- Topics: c, sdl2, sdl2-image
- Language: C
- Homepage:
- Size: 39.1 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Break Bricks
- Game/demo similar to the game [Breakout](https://en.wikipedia.org/wiki/Breakout_(video_game))
- 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](https://github.com/Costava/break-bricks/releases/tag/assets)
- Dependencies:
- - C standard library
- - SDL2
- - SDL2_image

## How to run
1. Clone the repo
2. Download the assets from [here](https://github.com/Costava/break-bricks/releases/tag/assets). 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](https://github.com/Costava/break-bricks/releases/tag/assets)
## Contributing
Not currently accepting contributions.
Feel free to open an issue.
## Screenshots

