التقنية والذكاء الاصطناعي
Someone got Doom in an SQL database
المصدر: Ars Technica - All content · نُشر

"Rendering Doom in a database is obviously a bad idea," Lukas Vogel writes in a lengthy blog post explaining how exactly he managed to render Doom using an SQL database. OK, that's not entirely accurate. The SQLDoom project uses a small Python client to handle input and output, d
"Rendering Doom in a database is obviously a bad idea," Lukas Vogel writes in a lengthy blog post explaining how exactly he managed to render Doom using an SQL database. OK, that's not entirely accurate. The SQLDoom project uses a small Python client to handle input and output, drive the game's timing, and display each frame to the screen.
Behind that, a series of CedarDB tables tracks the game geometry and state, while about 1,300 lines of SQL queries spread across 89 common table expressions implement the game logic and generate 35 bitmap framebuffers per second. In this, SQLDoom is a major improvement over Vogel's previous DoomQL project , which last year set out to build "a multiplayer Doom-like shooter entirely in SQL." Unfortunately, that effort ended up with raycasting-based, grayscale ASCII graphics that were more akin to the simplistic 90-degree-angled maps of Wolfenstein 3D . The newer SQLDoom, on the other hand, generates full-color 640x480 frames that look like they could have come from the original Doom executable.
Read full article Comments
أخبار ذات صلة

‘The violence is off the scale’: staff and passengers at risk as assaults on trains in Great Britain soar to record high
Cases of abuse, spitting, head-butting and sexual harassment, have spiked as transport police numbers have dwindled When a train was halted outside Exeter St Davids station on Monday, rail staff leapt to one conclusion: there had been a violent incident on board. “Someone will ha
Business | The Guardian ·

How to add and customize your CarPlay widgets
CarPlay's widgets let you check info quickly, which is a great option for apps that aren't otherwise supported.
Engadget - Technology News & Expert Reviews ·
Are extended warranties on TVs and laptops ever really worth it?
TV and laptop repairs can get expensive in a hurry, so getting a warranty sounds smart. But is it really?
Engadget - Technology News & Expert Reviews ·
Lucid Motors’ EV output falls to lowest level in almost two years
The company is deliberately limiting production after years of struggling to find mass-market demand for its EVs.
TechCrunch ·

Reverse-engineered games: All the news on video game decomps, recomps, VR and web and 3D ports
It’s a wild time for retro gaming. Thanks to decompilations and recompilations of classic titles, those games are becoming unshackled from their proprietary code and original hardware to be ported to new devices or updated in ways to completely change the original game. Ever imag
The Verge ·