Hacker News·4 min read·hard

We ported the original Doom to SQL

V
Vaslo
✦AI Summary

A developer has successfully ported the 1993 video game Doom to run entirely within an SQL database. The project uses Python only for input and display, while the game logic and rendering are handled by SQL queries.

Why it matters

This project demonstrates the extreme flexibility of database languages and serves as a creative technical challenge for software engineers.

✦Dive DeeperCreate a free account to unlock

TL;DR: We ported the original 1993 Doom's game logic and renderer to SQL and ran it inside a database. The game loop runs at the original 35 FPS, while the renderer produces the complete 320x200 frame buffer at up to 60 Hz on my Laptop. Python only handles timing, reads the keyboard, and displays the bitmap it gets back. Multiplayer also works.

You can play it right now Deathmatch, four slots, first come first served.

It's the shareware version of the first episode. If all seats are taken, you land in the queue. If the queue is full, you can still poke around and query live game state via SQL while you wait.

Continue reading on Headlinne

Create a free account to read the full article.

Read full article →
technologyentertainment
✦

Get smarter about the news

Sign up free for a feed built around what you actually care about, Dive Deeper research on any story, and the full text of every article.

Create free account

Already have an account? Sign in