PolymerLabs / polymon

Seek out Polymer team members and capture them as Polymon! https://polymon.polymer-project.org
10 stars 2 forks source link

Battle participant loses "waiting for opponent" state after page refresh #123

Closed cdata closed 7 years ago

cdata commented 7 years ago

When a player has chosen her move in a battle, the screen hides the UI on the bottom and replaces it with text that reads, "waiting for opponent." Unfortunately, after a page refresh, this state is lost and the UI to select a move appears again. The move selection is enforced server-side, so the player will see an error message when she tries to select a move again.

Instead, we should make sure that the "waiting for opponent" state is enforced across page refresh.

cdata commented 7 years ago

Cannot reproduce.