enigmash
This book is a working journal for the enigmash clone — a C++23 + raylib remake of JackLance’s PuzzleScript original. It documents engineering decisions that are tedious to rediscover by reading the diff later.
The runtime is structured as a layered application:
Gameowns the raylib window and aLayerStackImGuiLayerbrings in a docking workspace and routes ImGui framesGameLayerrenders the actual scene into aRenderTexture2Dthat the ImGui Viewport panel displays
The chapters that follow drill into the parts that are easy to get wrong on the first try. Right now that means text rendering — picking a font, keeping raylib + ImGui visually consistent, and adding CJK without melting VRAM.