ComputersAI

Developer Runs Doom Entirely Inside a SQL Database

Lukas Vogel's SQLDoom renders 35 frames per second at 640x480 using about 1,300 lines of SQL across 89 query blocks, with hosted servers in Europe and the US.

Developer Lukas Vogel has released SQLDoom, a project that runs Doom entirely inside a SQL database. Level geometry and game state are stored in CedarDB tables, according to techradar.com.

The port renders 35 full-color frames per second at 640x480 resolution using roughly 1,300 lines of SQL code across 89 query blocks. It also supports deathmatch play, with public online servers in Europe and the United States.

SQLDoom can be run locally with CedarDB and Doom's original WAD data; the code is available on GitHub.

An earlier effort called DoomQL launched last year and relied on raycasting with grayscale text characters. That version skipped BSP-tree traversal, which prompted Vogel to develop a second version. The Register noted the work doubles as a showcase for CedarDB, a database system that compiles complex queries into machine code.

Quick answers

What is SQLDoom?

It is a port that runs Doom entirely inside a SQL database, storing level geometry and game state in CedarDB tables.

Can I play SQLDoom online?

Yes. It supports deathmatch play with public online servers in Europe and the United States.

How do I run SQLDoom locally?

It can be run locally with CedarDB and Doom's original WAD data, using code available on GitHub.

Source