Chapter-by-chapter companion code for the book. Each code/chNN/
directory is the complete game as it stands at the end of that
chapter: build it, run it, diff it against its neighbors.
- Odin nightly
dev-2026-07or later (odinon your PATH). raylib ships with Odin asvendor:raylib; there is nothing else to install.
cd code/ch01
./build.sh # odin build src -out:crypt
./crypt
Run from the chapter directory: the game loads assets/ relative to
where you start it.
code/chNN/src/— the game (packagecrypt)code/chNN/assets/— the art pack (0x72 Dungeon Tileset II v1.7, CC0, by 0x72: https://0x72.itch.io/dungeontileset-ii)- from ch08:
code/chNN/tests/— headless tests (odin test tests) - from ch15:
code/chNN/shaders/ - ch17 adds the web build (
build_web.sh)