https://github.com/chrishulbert/brickwarrior
Brickout clone I wrote in the 90s
https://github.com/chrishulbert/brickwarrior
Last synced: 16 days ago
JSON representation
Brickout clone I wrote in the 90s
- Host: GitHub
- URL: https://github.com/chrishulbert/brickwarrior
- Owner: chrishulbert
- License: mit
- Created: 2026-04-26T08:46:49.000Z (3 months ago)
- Default Branch: main
- Last Pushed: 2026-04-27T01:32:21.000Z (3 months ago)
- Last Synced: 2026-04-27T03:31:39.982Z (3 months ago)
- Language: C++
- Homepage:
- Size: 8.35 MB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
- License: License
Awesome Lists containing this project
README
# BrickWarrior
Brickout clone I wrote in high school in the 90s 👴
[Download for macOS](https://github.com/chrishulbert/brickwarrior/releases)
Ported to run on modern systems using Sokol.

## Building
I've deliberately tried to make this as easy to build as possible. I've kept things as simple as possible with a hand-rolled Makefile.
```bash
make macos-app
make linux
make win # WIP
```

## Structure
* main.c
* This is to be game-agnostic.
* No game-specific code should be here.
* This is responsible for Sokol integration.
* This creates a frame buffer and allows the game to draw on it.
* This is the initial execution entry point, aka 'main'.
* game.c/h
* This is where things start getting game-specific.
* This is loosely modelled after pico-8: init, update, draw, deinit.
* The game itself shouldn't be too coupled to Sokol besides the parameters it passes to game, as it might be migrated to SDL later.
* image.c/h
* This is a wrapper for stb_image for loading PNGs.
