Devlog update on Satoshi Settlers
I will begin sharing major release updates here. Previously, I've been posting them on Discord, but I think it would also be nice to share them here for feedback and to keep everyone informed. The game is still WIP but it is playable and testable.
Release version 0.0.82
Change log:
Note this release is larger than previous because I needed to test many things on physical mobile devices and for some reason localhost in debugger mode connected to local network doesn't work perhaps because of no https? Anywho the easiest way to test in prod online via satoshisettlers.com. So I've pushed patches here and there to test and get some of these out before the release.
Features:
-
feature: put in helper text when logging in with nostr to let people know which step they are at when verifying and logging in. Also spits out helpful error messages.
-
feature: correctly use the optional relays provided by extension if the client provides them.
-
feature: prevent multi nostr clicks once login process begins
-
feature: toast message to respond to users that fail the metadata ln address check.
-
feature: removed 2nd guest login option, since I've committed so deep on this branch of code, unlikely I'll maintain the old guest login.
-
feature: firefox working well with pixel 6 pro.
-
feature: keyboard can now do most normal US symbols.
-
feature: keyboard has updated unicode function characters
-
feature: keyboard delete key or physical backspace key can now delete ongoing characters if held down.
-
feature: toast message errors no longer notify on empty channels or EOF from inner comms channels.
-
feature: removed the iOS warning message underneath invoices since there is a html copy button that pops up now on a failed copy click of the in game ui button.
-
feature: Using svh now instead of vh for html height so I no longer hide buttons underneath nav bar for mobile view if they aren't in PWA.
-
feature: Error toast is better for invalid LN address or invalid amount in the case someone buys while you have a block selected or it loads. It now tells you specifically which block you need to reselect or clear.
Bugfixes:
-
bigfix: timestamp updates of gamemap after init is 10 minutes after current date. Before this was causing issues where pings would reload every block eventually.
-
bigfix: removed most unwraps client and server side with comms, should promote better overall uX if encountering errors.
-
bugfix: checkbox for configuring all the blocks logic was improved.
-
bugfix: nostr login issues fixed, no longer trying to verify pubkey before getting the nostr.window. also now awaiting the nostr window in efforts to prevent issues with grabbing extra data and getting permission from user.
-
bugfix: refreshing nostr client between sessions. the current client was setup to cache results and it was causing failures on subsequent logins. For now I'm just doing a hard filter/query for even for people who login more than once.
-
bigfix: Logout bug fixed with correct path for corrupted sessions.
-
bugfix: Using CustomEvents inspired by Stu's game to call logout functions to make logic more clean if users get into a bad redis state session.