Lurker News
I sometimes pick up random projects just because I can, this was one of those times. I made it as a week long project a while back this year but never shared here, so thought to go for it haha.

I created a game inspired by Doom and the backrooms called The Backdooms under 2.4kb in minified html. (for reference, this entire post would be around 1.8kB haha) I had to use a not popular way of using GZip with Zlib headers (had to write my own script for compressing it, also in the repo) to eventually convert it a size 40 QR code that works right in your browser using Decompressionstream API.
This is of course a very oversimplified description of it, using a lot of the same technologies that DOOM had but combining it with infinite seed based map generation in 2.4kb (QR codes can only store 3kb, which includes changing formats) was pretty hard.
Here are some links about it if you want to nerd out and read more:
Repository Link (MIT License): https://github.com/Kuberwastaken/backdooms
A Hosted (slightly improved) version of The Backdooms: https://kuberwastaken.github.io/backdooms/
Game Trailer: https://www.youtube.com/shorts/QWPr10cAuGc
My Linkedin post about it: https://www.linkedin.com/feed/update/urn:li:activity:7295667...
(PS: You'd need something like https://qrscanner.org/ or something that can scan bigger QR codes and put the text data onto your browser to play it)
My Blogs documenting the process and development in detail:
https://kuberwastaken.github.io/blog/Projects/How-I-Managed-... https://kuberwastaken.github.io/blog/Projects/How-I-Managed-...

Comments (136) 39 threads

Earlier comments
bananaboy3 replies#
Very cool! Minor nitpick though: DOOM didn’t use raycasting. This is really a Wolfenstein 3D-like, since Wolf3D did use ray casting.
Max-q1 reply#
This is the obligatory comment on every ray casting game calling itself Doom like. I was scrolling down the page, checking if I had to add it, but luckily it was already done :-D
bananaboy#
I have been doing the same since the 90s reading people on usenet calling DOOM raycasting hahaha
kuberwastaken#
I KNOW haha! I wanted to include the backrooms concept with the infinite map and such and Wolfenstein 3D seemed fitting for the theme haha
Narishma2 replies#
Given the lack of textured walls, it's more like a Hovertank 3D-like.
bananaboy#
Absolutely! I figured people are more familiar with wolf3d though.
kuberwastaken#
I mean- I wanted textures but that's borderline impossible with the size
kuberwastaken#
Awesome!
kuberwastaken#
Update: Managed to add kind of some mobile touch support (literally insane) because of a PR by @sangeeth96 on the repo
Mainan_Tagonist2 replies#
After several tries, i managed to play it, sort of, on Brave on my Samsung S9.

Very impressive compression trick, as a proof of concept, it is worthy of praise, congrats.
I imagine this approach could be used for much more practical uses.

dylan6041 reply#
Or much more malevolent as well. Just because something novel and fun/entertaining can be done does not mean assholes will not use the same techniques for their gain.

PoCs like this are neat and definitely shows some skillz by the author, but now I'm hoping security types take a look at this to see how vulnerable this could be from asshats.

autoexec#
It's already a good practice not to go around scanning random QR codes. Nobody has to go through the trouble of compressing a bunch of code to run in your browser when you can just make a QR code point to any malicious domain on the internet and infect devices all day long.
kuberwastaken1 reply#
Thank you so much haha and yes! It indeed can, I always also like the idea of having QR code game cartridges of sorts haha

(PS I updated the hosted version again and it's much better for mobile controls, try it out if you get the time!)

Mainan_Tagonist1 reply#
I was thinking yesterday whether it would have a potential application in the field of low resources communication : you produce a QR code containing your info that you transmit over SSTV so the other party can get the message. Supposedly much more efficient than FT8 or JS8Call.
kuberwastaken#
Never thought about it that way, wow

Load more comments