ascorbic 5 days ago

fwiw, it works fine with the Pixel's built-in QR code scanner. It recognises it as text, not a URL, but it can copy to clipboard and then pasting in the browser works. Obviously I then die immediately because none of the controls work, but you can't have everything.

  • kuberwastaken 5 days ago

    Hey just wanted to update, crazy timing but I Managed to add kind of some mobile touch support here because of a recent PR to FURTHER optimize it (crazy), so you can actually play it now if you figure out the controls lol

iainmerrick 5 days ago

You mean the game doesn't work on mobile at all?

What kind of device do you use to scan the QR code, then?

  • lelandbatey 5 days ago

    You do not need to scan a QR code via a physical camera in your hand directly; any general purpose computer can run a QR code parsing program which accepts arbitrary images as input. It's so easy to do that there exist web pages which implement said QR code scanning in JS. Thus, the parent poster has recommended that you save the QR code .png file to your disk and then use such a piece of software, such as the website they linked, to extract the data encoded in that QR code.

    That is how you can use nearly any general-purpose computer to scan a QR code.

    • iainmerrick 5 days ago

      Or... use a URL.

      I'm sure the number of people who've ever scanned a QR code on a desktop computer is more than zero, but not much more.

      • kuberwastaken 5 days ago

        I think I myself brought that number into early triple digits, but I do also have a hosted version if you're interested!

        The reason for doing this project isn't practicality, it's because I can

    • kuberwastaken 5 days ago

      Indeed! Thank you for explaining this in a way better way :)

  • kuberwastaken 5 days ago

    Hey just wanted to update, I Managed to add kind of some mobile touch support here, so if you get an alternate chromium based browser, you can put in the URI to play on mobile too!

  • kuberwastaken 5 days ago

    Nope it doesn't, you can use any QR code scanner that takes image input! I would've loved to include smartphone controls but that would take a LOT of extra bandwidth.