You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@streger You’re right. Never got that edge case. Can u tell me the steps to reproduce that? I can’t seem to replicate.
Also, try maybe @philster’s solution. It might be right.
What I think a simple solution might be is you can disable the button when someone wins first :)
I won’t be changing the code now as u said it’s just a demo. It’s more about learning Svelte than getting the logic right for what it’s worth. Still appreciate u taking the time to think through the edge case 🙌
I know this is just a demo, but it doesn't hurt to have some logic to not allow input after "first win".
Check screens:
"First win"
"second win"
The text was updated successfully, but these errors were encountered: