Determines if the user sending the action occupies the seat with given id.
The numeric ID of the player.
A boolean indicating whether the player can move.
Determines if the action or request originates from the server.
A boolean indicating whether the origin is the server.
Checks if the provided ID and name match the user sending the action.
The string ID of the user.
The name of the user.
A boolean indicating whether the ID and name correspond to the current user.
Interface representing the validation logic for a player in a game. This validation determines, if user is allowed to make a move for player in the game.