DOOMQL: A Multiplayer DOOM Clone Written Entirely in SQL

2025-09-10
DOOMQL: A Multiplayer DOOM Clone Written Entirely in SQL

A developer built DOOMQL, a multiplayer DOOM-like shooter, entirely in SQL using the CedarDB database. The game stores all game data—maps, players, enemies—in the database, leveraging SQL views for raycasting and sprite projection. A simple shell script drives the game loop. Surprisingly, this approach works remarkably well, achieving a smooth 30 FPS and effortless multiplayer functionality thanks to the database's inherent concurrency handling. While maintenance and debugging might be challenging, the experiment showcases SQL's potential in game development and CedarDB's impressive performance.

Game