BrickWarrior
May 4, 2026 ยท View on GitHub
Brickout clone I wrote in high school in the 90s ๐ด
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.
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.
