Slashdot
Follow
Someone Got Doom In an SQL Database
Lukas Vogel has successfully rendered the game Doom using an SQL database, a feat detailed in a report by Ars Technica. While the SQL database handles the core game logic, a Python client manages input, output, timing, and screen display. The game's geometry and state are stored in CedarDB tables. Approximately 1,300 lines of SQL queries, utilizing common table expressions, implement the game's mechanics. This allows SQLDoom to generate 35 full-color bitmap framebuffers per second. This project is a significant advancement over Vogel's previous SQLDoomQL, which produced only grayscale ASCII graphics. SQLDoom now generates full-color 640x480 frames resembling the original Doom. The project's code is available on GitHub for users to set up locally with CedarDB and a Doom WAD file. Alternatively, a free online hosted demo is available for testing without local installation. The project demonstrates an unconventional yet functional approach to game rendering.