• @[email protected]
    link
    fedilink
    English
    5
    edit-2
    17 days ago

    The source code is very readable, and contains all answers in lz-in-base64-encoded JSON. It should be easy to add support for playing previous/future rounds using URL parameters and/or buttons with a userscript.

    Edit: it’s been compiled with Angular.js, and I don’t want to install the IDE to change 8 lines… So I identified the function in the minified version and altered it. When I tell my browser to replace the file with a local copy, the hack works until I load another URL. I’ll try to figure out how to keep it pointed to the hacked version (which reads the ?num= URL parameter instead of calculating number of days since the first one) but making a Redirector rule fails because of unexpected content type reported by GitHub (text/plain). I don’t want to run my own server, let’s see if I can do it another way…

    Edit: Done

      • @[email protected]
        link
        fedilink
        English
        217 days ago

        There are actually only 369 games, and they will loop around on 2025-08-06 to #1 unless the list expands (which will also increase the number of suggested cities in the search box). The list of all games including names, coordinates and landmark descriptions is transferred every time someone loads the page (if you don’t close the tab and change to another game, it will be cached).

        I’m amazed that the direction and distance calculation actually uses spatial trigonometry to account for globe curvature, and does not use special libraries!

  • Sibbo
    link
    fedilink
    117 days ago
    🛰Satle #101 3/6
    🟥🟥🟩⬜⬜⬜
    https://satle.ca