Skip to content

Implement checkmate, resignation and draw #1

@dev-xero

Description

@dev-xero

Implement a system for terminating active games. It must signal both players about the game state.

Acceptance criteria

  • Must notify both players when checkmate, resignation, or draw occurs.
  • Must update the game model with the appropriate reason.
  • The game state should be persisted in the main database.
  • Update player ratings based on their elo difference.

Notes

  • Would probably need to store a shouldUpdate flag in local storage to fetch the new ratings after a game.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions