DOOMQL
A playable Doom-like where a SQLite database is the whole engine, and the code that paints its 3D view pixel by pixel was written by an LLM rather than a person.
Point a database browser at a file called doomql.sqlite and you get a moving first-person Doom screen. Nothing is stored: the frame is computed the instant you run the query. A view named frame_pixels returns 8,640 rows of (x, y, red, green, blue), one per pixel at 160-by-54, and a recursive query walks each ray out into the level to decide what colour that pixel should be. Movement, collision, enemies, combat, the minimap: all of it is SQL. The framebuffer is a table you could sort or filter like any other.
Making SQL draw 3D isn't itself new — CedarDB's Lukas Vogel built a multiplayer version on a custom database in 2025. What's new is the provenance. Peter Gostev didn't hand-write this raycaster; he prompted a large language model (GPT-5.6 Sol) into producing it, and it worked in plain, unmodified SQLite. Simon Willison then pointed his Datasette database explorer at the file, and the generic table viewer became a game display that refreshes once a second, timing metrics and all.
A raycaster in a recursive SQL query is exactly the kind of thing that reads as a party trick until you notice no human typed it. What matters here is less the game than the machine that wrote the game: a model that can hold the geometry of a ray-marching loop in its head and express it fluently in a language nobody uses for graphics. A frame renders in about 89 milliseconds. That is slow for Doom, but fast enough to watch it move.
The lenses
The facts
How this connects
Tap a node to open it