ViciousFish / buzzwords

A browser based word strategy game featuring frictionless link-based multiplayer. Try it today!
https://buzzwords.gg
Apache License 2.0
49 stars 8 forks source link

Rematch button #26

Open chuckdries opened 2 years ago

chuckdries commented 2 years ago

Button in UI that creates a new game with the same users and navigates user to it

James-Quigley commented 2 years ago

Does a rematch have to be confirmed by both players? Or can either player kick off a rematch for both?

James-Quigley commented 2 years ago

I think perhaps it should be confirmed by both players. We can store that on the game object and allow a rematch request if the game is over. Once the second player confirms the rematch, we can create a new game with the same players, but randomize who goes first?

chuckdries commented 2 years ago

I wasn't thinking it'd have to be confirmed but I'm fine with that. I'll work on the UI for prompting the opponent

chuckdries commented 2 years ago

I think we shouldn't have to confirm, just immediately start the game

chuckdries commented 2 years ago

I take it back, we should prompt to accept like lichess