> For the complete documentation index, see [llms.txt](https://documentation.rcore.cz/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://documentation.rcore.cz/paid-resources/rcore_casino/config-reference/tweaking-games/poker.md).

# Poker

Bet limits, timers, and the house edge and fairness system for Poker.

Poker tables read their settings from `configs/games/poker.lua`, in the `PokerConfigs` table. Each entry in `PokerConfigs` is a full preset (Normal, Junior, High Stakes, Custom), and the Preset field on a table in the editor picks which one it uses.

## Presets

| Preset      | Timer per betting step (seconds) | Ante / Play limits | Pair Plus limits |
| ----------- | -------------------------------- | ------------------ | ---------------- |
| Normal      | 40                               | 10 to 5000         | 10 to 500        |
| Junior      | 15                               | 10 to 500          | 10 to 50         |
| High Stakes | 40                               | 1000 to 50000      | 1000 to 5000     |
| Custom      | 40                               | 1000 to 50000      | 1000 to 5000     |

High Stakes and Custom have the same numbers by default. Edit the `Stakes.Custom` entry in `PokerConfigs` to give it its own limits.

## Field reference

| Field                                                      | Info                                                                                                                                                                               |
| ---------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `TextureID`                                                | Look of the table.                                                                                                                                                                 |
| `Title`                                                    | Table name players see in the "Press to play" prompt and on the round results screen.                                                                                              |
| `PlaceBetsTime`                                            | Time for each betting step (Ante, Pair Plus, then Play or Fold), in seconds. If every seated player has already acted, the table skips the rest of it.                             |
| `MinBetValueAntePlay`, `MaxBetValueAntePlay`               | Ante bet limits. Play always mirrors the Ante, so this range also caps Play.                                                                                                       |
| `MinBetValuePairPlus`, `MaxBetValuePairPlus`               | Pair Plus bet limits.                                                                                                                                                              |
| `RTP`, `ExposureBias`, `PlayerControls`, `FairnessWindows` | The bias system. More in [Changing Odds](https://documentation.rcore.cz/paid-resources/rcore_casino/config-reference/tweaking-games/changing-odds.md#table-games-the-bias-system). |

## House edge and fairness

`RTP`, `ExposureBias`, `PlayerControls` and `FairnessWindows` use the same bias system in every table game. More in [Changing Odds](https://documentation.rcore.cz/paid-resources/rcore_casino/config-reference/tweaking-games/changing-odds.md#table-games-the-bias-system).

Keep `RTP.sampleSize` above 100. A poker round usually pays nothing or about double, so a shorter window jumps above `RTP.max` after a few lucky rounds and the table starts braking even when players are behind overall. One sample is one round, however many players are seated.

### What a biased round does

Every player in the round is dealt a deliberately weak hand, and the dealer gets the best of three hands, so the round is much more likely to go to the house.
