Skip to content Skip to footer
0 items - $0.00 0

Show HN: I made a Doom-like game fit inside a QR code by kuberwastaken

Show HN: I made a Doom-like game fit inside a QR code by kuberwastaken

Show HN: I made a Doom-like game fit inside a QR code by kuberwastaken

15 Comments

  • Post Author
    kuberwastaken
    Posted April 18, 2025 at 4:40 pm

    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-…

  • Post Author
    jasonjmcghee
    Posted April 18, 2025 at 5:11 pm

    You should update the css for the canvas to be `image-rendering: pixelated` so things look crisp rather than blurry!

  • Post Author
    the_arun
    Posted April 18, 2025 at 5:18 pm

    My iPhone camera says – "No Usable Data found" when I scan the QR code.

    On a different context, loading a game in QR code also made me to think, can anyone inject a malware script using QR codes?

  • Post Author
    giarc
    Posted April 18, 2025 at 5:19 pm

    I scanned on an iPhone using native QR code scanner and it says "no usable data found".

  • Post Author
    deadbabe
    Posted April 18, 2025 at 6:11 pm

    How can there not be even one screenshot of the game in the readme?

  • Post Author
    jerjerjer
    Posted April 18, 2025 at 6:17 pm

    Year 3567: automatic interstellar probe finds remnants a technical alien civilization.

    Year 3678, Show HN: I compiled DOOM for an alien CPU architecture.

    Vernor Vinge kind of touches this topic a bit in his Zones of Thought series.

  • Post Author
    Lerc
    Posted April 18, 2025 at 6:53 pm

    I don't want to take away from the achievement because it really is awesome, and should be celebrated.

    …but…

    It seems like a fundamental design issue to make a QR code game that isn't designed for the platform where QR codes are most used.

  • Post Author
    EGreg
    Posted April 18, 2025 at 7:06 pm

    Reminds me of my submission to Allegro SizeHack 25 years ago, in 2000:

    https://www.oocities.org/trentgamblin/sizehack/entries.html#…

    I made a PacMan-like game in under 10KB… it was called HackMan :)

    But I am most proud of the storyline that came with it!

  • Post Author
    rezmason
    Posted April 18, 2025 at 7:15 pm

    Keep making cool things, kuberwastaken

  • Post Author
    selfselfgo
    Posted April 18, 2025 at 7:21 pm

    [dead]

  • Post Author
    bhavik_dand
    Posted April 18, 2025 at 7:28 pm

    crazy stuff!!

  • Post Author
    kuberwastaken
    Posted April 18, 2025 at 7:51 pm

    Update: Managed to add kind of some mobile touch support (literally insane) because of a PR by @sangeeth96 on the repo

  • Post Author
    smusamashah
    Posted April 18, 2025 at 8:13 pm

    Please add a few screenshots to the repo. I am on phone and for whatever reason all I could see was 3 buttons and black screen.

    Edit: Add a gif instead, you won't have to rely on YouTube with that.

  • Post Author
    metalman
    Posted April 18, 2025 at 8:15 pm

    I am now waiting for news that someone has bio hacked a cockroach or a fruitfly to play doom, if not autonomously then for the full cold shivers, they are now robotisising insects, which could then be accesed through an interface to play doom
    on a toothbrush booted from a qr code.
    Sci-fi is lagging

  • Post Author
    Bengalilol
    Posted April 18, 2025 at 8:33 pm

    Great crazy thing!
    I am waiting for the addition of "self contained QR code" to canitrundoom (although I don't know if it can be technically approved).

    Yet… that game will now make me think twice before scanning any QR ^^

Leave a comment

In the Shadows of Innovation”

© 2025 HackTech.info. All Rights Reserved.

Sign Up to Our Newsletter

Be the first to know the latest updates

Whoops, you're not connected to Mailchimp. You need to enter a valid Mailchimp API key.