all 13 comments

sorted by: hot top controversial new old
[–] 5 points 2 years ago* (last edited 2 years 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

  • source
  • [–] 5 points 2 years ago

    Dig it! thanks for this

  • source
  • Love this game, got in 5 guesses

  • source
  • [–] 3 points 2 years ago (1 child)

    What a cool idea! I got it in 1, but I knew the landmark haha. Looking forward to tomorrow!

  • source
  • hideshow 2 child comments
  • [–] 2 points 2 years ago* (1 child)

    I added an "archive" function where you can play previous and following games: https://chaoticneutralczech.github.io/SatleArchiveHack/

  • source
  • hideshow 2 child comments
  • [–] [S] 1 point 2 years ago (1 child)
  • 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!

  • source
  • parent
  • [–] 1 point 2 years ago
    πŸ›°Satle #102 5/6
    πŸŸ₯πŸŸ₯πŸŸ₯πŸŸ₯🟩⬜
    https://satle.ca
    
  • source
  • [–] 1 point 2 years ago

    That's pretty cool! Unfortunately my best guess was 6000Km away

  • source
  • [–] 1 point 2 years ago

    πŸ›°Satle #101 3/6 πŸŸ₯πŸŸ₯🟩⬜⬜⬜
    https://satle.ca

  • source
  • [–] 1 point 2 years ago
    πŸ›°Satle #101 3/6
    πŸŸ₯πŸŸ₯🟩⬜⬜⬜
    https://satle.ca
    
  • source
  • [–] 0 points 2 years ago

    πŸ›°Satle #101 2/6 πŸŸ₯🟩⬜⬜⬜⬜ https://satle.ca

  • source