Forcibly cancels an ongoing game without affecting player ELO ratings.
The ID of the game to cancel.
The payload containing the cancellation reason.
A promise resolving to a success message.
Retrieves the complete details of a specific game.
The unique ID of the game.
A promise resolving to the GameEntity.
Retrieves the recent match history for a specific user.
The ID of the user.
The maximum number of games to return (defaults to 10).
A promise resolving to an array of GameEntity.
Submits the final results of an active game, calculating ELO changes.
The ID of the game to score.
The payload containing the winning team index and player stats.
A promise resolving to a success message.
Undoes the results of a previously scored game, reverting ELO changes and statistics.
The ID of the game to undo.
A promise resolving to a success message.
Manages API operations related to Games (Matches). Handles fetching match history, scoring, cancelling, and undoing game results.