this post was submitted on 09 Nov 2024
23 points (100.0% liked)

dailygames

941 readers
82 users here now

Community for daily games like Wordle, Jumblie, Connections etc.

Post your daily games and scores. Discover new games and discuss with others.

Find games

Share your results

It’s useful to wrap your results in a markdown codeblock to preserve the layout. Put three backticks ``` before and after your result to create a codeblock.

πŸŸ¨πŸŸ¨β¬›β¬›β¬›
πŸŸ¨πŸŸ©β¬›β¬›β¬›
πŸŸ©πŸŸ©πŸŸ¨πŸŸ¨β¬›
🟩🟩🟩🟩🟩

Rules

founded 5 months ago
MODERATORS
top 13 comments
sorted by: hot top controversial new old
[–] perishthethought@lemm.ee 5 points 2 weeks ago

Dig it! thanks for this

[–] ChaoticNeutralCzech 5 points 2 weeks ago* (last edited 2 weeks 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

Love this game, got in 5 guesses

[–] Geologist@lemmy.zip 3 points 2 weeks ago (1 children)

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

[–] ChaoticNeutralCzech 1 points 2 weeks ago* (last edited 2 weeks ago)
[–] ChaoticNeutralCzech 2 points 2 weeks ago* (last edited 2 weeks ago) (1 children)

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

[–] FundMECFSResearch@lemmy.blahaj.zone 1 points 2 weeks ago (1 children)
[–] ChaoticNeutralCzech 2 points 2 weeks 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!

[–] inlandempire@jlai.lu 1 points 2 weeks ago
πŸ›°Satle #102 5/6
πŸŸ₯πŸŸ₯πŸŸ₯πŸŸ₯🟩⬜
https://satle.ca
[–] Anticorp@lemmy.world 1 points 2 weeks ago

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

[–] roserose56@lemmy.ca 1 points 2 weeks ago

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

[–] Sibbo@sopuli.xyz 1 points 2 weeks ago
πŸ›°Satle #101 3/6
πŸŸ₯πŸŸ₯🟩⬜⬜⬜
https://satle.ca
[–] berryjam@lemmy.world 0 points 2 weeks ago

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