Gameplay Details
Match process
The flow for a single match is as follows:
- Human uses the website to join a match
- Match begins once enough players have joined
- Human configures bot with match-specific parameters (match key)
- Bot checks in with game server
- Bot plays match
- Website is updated to reflect match results
Game rules and Action Reassignment
All games are heads-up no limit Texas Hold 'Em.
The game engine will automatically reassign a bot's input action to a different effective action in the following cases:
- If the input action is check but the player does not have the right to check because of an existing bet, the effective action is fold.
- If the input action is call but there is no existing bet to call, the effective action is check.
- If the input action is bet or raise for an amount larger than the active player's current chip total, then the effective action is a bet or raise that puts the player all-in.
- If the input action is a raise for an amount below the minimum required amount, then the effective action is a call.
However, there will be no action reassignment if the original raise amount puts the acting player all-in.
Note on bot setup
The bot should be written such that it is easy for the human developer/user to swap out match keys for each instance of the bot.
When a match begins, the players will be shown the key in the browser. This key should be copied into the bot's message generation method(s).
It must be included in every game websocket message.