> 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/blackjack.md).

# Blackjack

Bet limits, timers, dealer outcome weights and the fairness system in the Blackjack config file.

The blackjack game type is configured in `configs/games/blackjack.lua`, in the `BlackjackConfigs` table. It has four presets: Blackjack, Blackjack Junior, Blackjack High Stakes and Blackjack Custom Stakes. Every table on the map uses one of these presets, picked per table in the editor's Preset field, which lists them by key (`normalstakes`, `junior`, `highstakes`, `custom`). Editing a preset here changes every table using it.

## Preset fields

<table data-full-width="false"><thead><tr><th width="200">Field</th><th>Info</th></tr></thead><tbody><tr><td><code>TextureID</code></td><td>Look of the table.</td></tr><tr><td><code>Title</code></td><td>Table name players see in the "Press to play" prompt and on the round results screen.</td></tr><tr><td><code>PlaceBetsTime</code></td><td>Betting phase length, in seconds</td></tr><tr><td><code>MinBetValue</code></td><td>Minimum bet accepted</td></tr><tr><td><code>MaxBetValue</code></td><td>Maximum bet accepted</td></tr><tr><td><code>DealerOutcomeWeights</code></td><td>How often the dealer is set up to land Blackjack, 21, a strong 17-20 finish, or a bust. More in <a href="#dealer-outcome-weights">Dealer outcome weights</a></td></tr><tr><td><code>RTP</code>, <code>ExposureBias</code>, <code>PlayerControls</code>, <code>FairnessWindows</code></td><td>The bias system. More in <a href="https://documentation.rcore.cz/paid-resources/rcore_casino/config-reference/tweaking-games/changing-odds.md#table-games-the-bias-system">Changing Odds</a>.</td></tr></tbody></table>

## Bet limits and timing

<table data-full-width="false"><thead><tr><th>Preset</th><th>PlaceBetsTime (seconds)</th><th>MinBetValue</th><th>MaxBetValue</th></tr></thead><tbody><tr><td>Blackjack</td><td>40</td><td>10</td><td>5000</td></tr><tr><td>Blackjack Junior</td><td>15</td><td>1</td><td>200</td></tr><tr><td>Blackjack High Stakes</td><td>40</td><td>1000</td><td>50000</td></tr><tr><td>Blackjack Custom Stakes</td><td>40</td><td>1000</td><td>50000</td></tr></tbody></table>

## Dealer outcome weights

`DealerOutcomeWeights` sets how often the dealer is set up for each kind of hand: a dealer Blackjack, a dealer 21, a strong 17-20 finish, or a bust. They are relative weights and don't need to add up to anything. Every default preset adds up to 1.00, so the weights read directly as percentages.

The outcome is picked before the cards are dealt, then the dealer's cards are arranged to aim for it. A planned bust doesn't always land, so the dealer busts a bit less often than the bust weight says. The player's cards are dealt separately, so a strong dealer finish can still be beaten.

{% hint style="info" %}
If `DealerOutcomeWeights` is left out, or its four values sum to 0, the preset falls back to a built-in default (Blackjack 0.05, twentyOne 0.12, strongFinish 0.43, bust 0.40) and prints a warning to the server console.
{% endhint %}

<table data-full-width="false"><thead><tr><th>Preset</th><th>blackjack</th><th>twentyOne</th><th>strongFinish</th><th>bust</th></tr></thead><tbody><tr><td>Blackjack</td><td>0.07 (7%)</td><td>0.15 (15%)</td><td>0.48 (48%)</td><td>0.30 (30%)</td></tr><tr><td>Blackjack Junior</td><td>0.05 (5%)</td><td>0.12 (12%)</td><td>0.53 (53%)</td><td>0.30 (30%)</td></tr><tr><td>Blackjack High Stakes</td><td>0.08 (8%)</td><td>0.17 (17%)</td><td>0.50 (50%)</td><td>0.25 (25%)</td></tr><tr><td>Blackjack Custom Stakes</td><td>0.08 (8%)</td><td>0.17 (17%)</td><td>0.50 (50%)</td><td>0.25 (25%)</td></tr></tbody></table>

These weights set the table's house edge, not the `RTP` band. `bust` moves it fastest, since a dealer bust pays every player still standing.

## 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).

### What a biased round does

A biased round makes the dealer less likely to bust, shifting that chance into the winning results instead, mostly into a strong 17-20 finish, and less often into 21 or a dealer Blackjack. The stronger the bias, the bigger the shift.

The dealer's bust weight never drops below about `0.05`, so even a fully biased table still busts occasionally.
