Closed zhiyi-zhang-duke closed 6 months ago
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Comments | Updated (UTC) |
---|---|---|---|---|
downforacross.com | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Dec 16, 2023 5:12am |
looks good!
This code change adds a
default_username
to the localStorage that is only set when the user updates their username to something that is not a randomly generated name. This value is then checked when other games are loaded and if it is set, is used instead of the randomly generated name.Here's the state of local storage after a new game is created:
Here's the state of local storage after the username is updated:
Here's the state of a new game after the
username_default
is set: