Go Home

Behold! A single QR code containing a miniaturized take on Doom_ 'literally the entire game'

Published on January 01, 0001

There's something a bit magical about shareware stalwart Doom and folks' compulsion to make it run on absolutely everything. Present a sufficiently motivated individual with the game's open source code, and a less than powerful bit of kit offering maybe the barest whisper of a GUI, and you can be sure they'll put two and two together.

So, when I ask 'what does a , , and [[link]] all have in common?', you know the answer. Well, now we can add QR codes to that list—with an asterisk. Developer Kuber Mehta has created something exceedingly light-weight that can be compressed, encoded into, and then extracted from [[link]] a single QR code (via ).

So, it's not actually Doom—that's the asterisk—but Mehta's game is definitely Doom-like. Taking heavy inspiration not just from the original 1993 shooter, but liminal space creepypasta as well, Mehta's project is called 'the backdooms.' It's very silly as names go, but I'm still kicking myself for not having come up with it.

winner55 ทางเข้า สล็อต Doom Enhanced (1993) screenshot - chaingun firing at two floating cacodemons

(Image credit: Id Software)

Crafted in HTML, Mehta had to make every character of his code count, and he was able to compress variables to single letters by using what he describes as "EXTREMELY aggressive minification". Looking at the resulting code kind of makes me feel like a Doom demon taking a headshot, but I'm nonetheless impressed. Unfortunately, encoding HTML into a QR code is also not a walk in the park, with the usual go-to Base64 conversion route leaving very little of an already meagre storage budget for the game itself.

So, Mehta turned to the cursed trinity of , and to source a solution.

Demonstrating why AI chatbots are not especially useful referencing tools, Mehta writes, "I talked to [the three AI chatbots] for two days, whenever I could [...] 100 different prompts to each one to try to do something about this situation (and being told every single time hosting it on a website is easier!?) Then, ChatGPT casually threw in DecompressionStream [a WebAPI component built into most browsers]."

This was not the last hurdle for the project to creatively hurl itself over. Though the backdooms originally used tiny baked-in maps, Mehta instead chose to implement maps based on a seed that infinitely generates.

While somewhat random, this means maps can be retrieved if you've got the seed number it was generated from—however, the real magic trick was then making this look like even rudimentary 3D. Borrowing a page out of Doom's original playbook, Mehta deployed a simplified version of raycasting—so, technically, this (and the original Doom) is a 2D game in a trench coat.

As a result of all of the above constraints, 'the backdooms' is a visually limited project, , but it definitely gets the point across. You can take a deeper dive into the guts of the project yourself .

A screenshot of the backdooms, a simplified shooter inspired by the original Doom from 1993 and The Backrooms. The player is surrounded by red-eyed rectangles and halls of grey walls.

(Image credit: Kuber Mehta)

Naturally, compressing everything into a QR code isn't going to be practical for most projects, but it's definitely in the shareware spirit of the original Doom. Thrifty use of underpowered resources is always impressive—especially when .

Along the lines of getting the most out of incredibly limited foundations, you may also be interested in Roche Limit, . Despite the jaunty trailer, that's a project with a powerfully cursed (though no less compelling) vibe. Speaking of tales of terror, maybe I should dust off that draft about a post-apocalyptic world inherited by cockroaches with Doom's source code encoded in their DNA…


: The top pre-built machines.
: Great devices for mobile gaming.

[[link]]

Reader Comments

SlotMaster6490

The mobile interface is smooth and intuitive. I can play all my favorite slots on the go without experiencing any lag or glitches. The design is responsive and user-friendly, which makes gaming on my phone just as enjoyable as on my computer. I really enjoy playing the slot games here. The variety is amazing, from classic reels to modern video slots with interactive bonus rounds. Every spin feels like an adventure, and the graphics and sound effects are top-notch, making the experience immersive and exciting. Sometimes I wish there were more ways to earn rewards through loyalty programs or frequent player bonuses. Adding seasonal events or special challenges could enhance the excitement even further.

CasinoKing8738

I appreciate the themed slot games, especially those based on movies and TV shows. They make the gaming experience more engaging and immersive. The combination of storyline, visuals, and bonus features makes each game feel unique. I love the overall aesthetic of the platform. The animations, visual effects, and sound design make the gaming experience more dynamic and immersive. It's one of the reasons I keep coming back. The variety of games is excellent, including table games like blackjack, roulette, and baccarat, in addition to slots. This keeps the platform interesting and allows me to switch games depending on my mood.

SlotMaster110

The variety of games is excellent, including table games like blackjack, roulette, and baccarat, in addition to slots. This keeps the platform interesting and allows me to switch games depending on my mood. The mobile interface is smooth and intuitive. I can play all my favorite slots on the go without experiencing any lag or glitches. The design is responsive and user-friendly, which makes gaming on my phone just as enjoyable as on my computer. I really enjoy playing the slot games here. The variety is amazing, from classic reels to modern video slots with interactive bonus rounds. Every spin feels like an adventure, and the graphics and sound effects are top-notch, making the experience immersive and exciting.

Recommended Reading

Valve does its homework the night before deadline_ Switches Steam to run on Mac chips right as Apple

I've said it before and I'll say it again: my 2020 MacBook Air is the best gaming laptop I've ever owned. Not because [[link]] it can run anything I throw at it (it can't) or because it's some ungodly-powerful...

Keep Reading

Palworld's community manager says our 'dead game' fixation is ruining gaming_ 'I don't think it real

YouTube Watch On John "Bucky" Buckley, community manager for Palworld developer Pocketpair, has waded into the "dead games" discourse once again. Speaking in [[link]] an interview with the YouTube channel...

Keep Reading

Gen Z and Gen Alpha crave games with 'more meaning' and 'personalisation across everything' accordin

Sony's been on a bit of a bender with AI stuff recently, huh—as I'm sure a [[link]] recently-misrepresented Neil Druckmann will tell you. AI—or I should specify, generative AI—may prove valuable in game develo...

Keep Reading