Search
English

Original Doom Game Logic and Renderer Implemented in SQL, Running Inside a Database(cedardb.com)

startupxo Discuss

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.

Read source ↗

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.

Sign in to comment

Keyboard shortcuts

Choose a post with J and K or the arrow keys, then press Enter.

K ↑ / J ↓
Previous post / next post
Enter C
Open summary and comments for the selected post
O
Open the original link of the selected post
/
Search
?
Show this help
Tab
Move to the submit or comment button, then press Enter

Type normally in text fields. Tab and Enter are always available.