Instantiates a new GameEntity.
The active SDK client instance.
The raw game data from the API.
Cancels this game, reverting any pending state without affecting ELO.
The reason for cancellation.
A promise resolving to a success message.
Submits the final score and player statistics for this game. This will update ELO ratings and mark the game as FINISHED.
The payload containing the winning team index and player stats.
A promise resolving to a success message.
Reverts the score of this game, refunding all ELO changes.
A promise resolving to a success message.
Represents a competitive match (Game) within the system. Provides helper methods to score, cancel, or undo the score of the game directly.