{% extends 'wfbo/_layout.html.twig' %} {% block wfbo_title %}Color Game Settings{% endblock %} {% block wfbo_content %} {% for flash in app.flashes('success') %} {% endfor %} {{ form_start(cgSettingsForm, {attr: {'data-testid': 'cg-settings-form', 'novalidate': 'novalidate', 'data-turbo': 'false'}}) }} {# ── Game Toggle ── #}

Game Visibility

Enable or disable Color Game on the site. When disabled, the game card is hidden from the home page and the route redirects to home.

{{ form_widget(cgSettingsForm.cgEnabled) }} {{ form_label(cgSettingsForm.cgEnabled, null, {label_attr: {class: 'form-check-label'}}) }} {{ form_errors(cgSettingsForm.cgEnabled) }}
{# ── Maximum Bet Amount section ── #}

Maximum Bet Amount

Maximum amount a player can bet on a single roll. Leave blank for no limit.

{{ form_label(cgSettingsForm.cgMaxBetAmount, null, {label_attr: {class: 'form-label--sm'}}) }} {{ form_widget(cgSettingsForm.cgMaxBetAmount) }} {{ form_errors(cgSettingsForm.cgMaxBetAmount) }}
{# ── House Win Rate section ── #}

House Win Rate

Override the general house win rate for Color Game only. Leave blank to use the general setting. Higher means more rolls resolve in the house's favor.

{{ form_label(cgSettingsForm.cgHouseWinRate, null, {label_attr: {class: 'form-label--sm'}}) }}
{{ form_widget(cgSettingsForm.cgHouseWinRate, {attr: {class: 'border-end-0'}}) }} %
{{ form_errors(cgSettingsForm.cgHouseWinRate) }}

Leave blank to fall back to the general house win rate setting.

{# ── Payout Multipliers section ── #}

Payout Multipliers

Configure the payout multiplier for each dice match outcome. A player bets on one of 6 colors and rolls 3 dice. If the dice show their chosen color, the payout is the matched count's multiplier times the bet amount.

{{ form_label(cgSettingsForm.cgMultiplier1, null, {label_attr: {class: 'form-label--sm'}}) }}
x1 {{ form_widget(cgSettingsForm.cgMultiplier1, {attr: {class: 'border-end-0'}}) }} ×
{{ form_errors(cgSettingsForm.cgMultiplier1) }}

Payout when exactly 1 die matches the bet color.

{{ form_label(cgSettingsForm.cgMultiplier2, null, {label_attr: {class: 'form-label--sm'}}) }}
x2 {{ form_widget(cgSettingsForm.cgMultiplier2, {attr: {class: 'border-end-0'}}) }} ×
{{ form_errors(cgSettingsForm.cgMultiplier2) }}

Payout when exactly 2 dice match the bet color.

{{ form_label(cgSettingsForm.cgMultiplier3, null, {label_attr: {class: 'form-label--sm'}}) }}
x3 {{ form_widget(cgSettingsForm.cgMultiplier3, {attr: {class: 'border-end-0'}}) }} ×
{{ form_errors(cgSettingsForm.cgMultiplier3) }}

Payout when all 3 dice match the bet color.

{{ form_end(cgSettingsForm) }} {% endblock %}