Original Doom Game Logic and Renderer Implemented in SQL, Running Inside a Database(cedardb.com)
Writing language: KoreanRead in the original language
Plain summary
- The original 1993 Doom's game logic and rendering functions were ported into SQL queries and run inside a database.
- The game runs at the original speed with 35 tics per second, and rendering produces a screen at up to 60 Hz refresh rate with a resolution of 320x200.
- The game data in WAD file structure is converted into relational database tables, and the spatial partitioning (BSP) tree is implemented inside the database using complex expressions and procedural queries to render walls and characters accurately.
- A Python script handles only input processing, timing, and output; the game state and rendering operate entirely within SQL and database functions.
Found on
Hacker News ↗ / 91 votes / 10 comments
Have you run into something like this? Tell us in a line or two what you did. You do not need to know the product.