php-gaming-website icon indicating copy to clipboard operation
php-gaming-website copied to clipboard

Disable controls if user isn't able to perform the action

Open marein opened this issue 7 years ago • 0 comments

Problem description Currently the invariants are only captured on the server. Following needs to be done in the web interface.

  • [x] Disable button in game list if a player joined a game or aborted a game. #232 (sneaked in)
  • [ ] Disable the fields in the game view if it's not the current player's turn or the column is already filled.
  • [ ] Disable resign game button in game view if the game isn't resignable or the current user is not a player within that game.
  • [ ] Disable abort game button in game view if the game isn't resignable or the current user is not a player within that game.

marein avatar Mar 06 '18 21:03 marein