Dice TesterBETA! by BGtulk
Back to Dice Tester

Overview & Interface

The Stake Dice Tester is a state-of-the-art simulation testing suite for Stake Casino Dice. It allows players and strategists to test, simulate, analyze, and optimize dice strategies in real time or across up to 100 parallel background runs.

TOP BAR Balance & Quick Controls
  • Balance Input: Set any starting test balance (default 1000.00). Balance auto-saves in browser memory.
  • Reset Balance: Instantly resets balance to the specified starting balance and clears stats.
  • Assistant Panel Button: Opens the Strategy Risk Analytics & Groq AI Advisor side panel.
  • Live Stats Button: Opens the real-time profit chart canvas, run switcher, and multi-run metrics.

Manual Dice Rolling

In Manual Mode, you can test individual rolls, drag the slider, or change payout targets to inspect win probabilities.

LINKED INPUTS Mathematical Target Formulas

The three main game controls are mathematically linked in real time:

Field Formula Description
Multiplier 99 / Win Chance Payout multiplier on win (e.g. 50% chance = 1.9800×).
Win Chance 99 / Multiplier Percentage win probability (0.01% to 99.99%).
Roll Target Win Chance (Under) or 100 - Win Chance (Over) The target number on the 0.00 to 99.99 dice slider.
ROLL OVER / UNDER Dynamic Slider Fills

Clicking the ⇄ Swap button toggles between Roll Under and Roll Over mode. In Roll Over mode, the green win zone moves to the right side of the slider (from Target to 100) and the red loss zone sits on the left (from 0 to Target).

Strategy Builder & Condition Tabs

The Strategy Modal provides a powerful 3-tab condition builder where you can create complex automated strategies.

3 CONDITION TABS Strategy Categorization
  • Bet Condition: Triggers actions based on win/loss streaks or total bet counts.
  • Profit Condition: Triggers actions based on cumulative session profit, total loss, or overall balance thresholds.
  • Base Bet Condition: Triggers base bet scale changes every time the balance doubles (2x) or increases by X%.

Condition Triggers

Trigger Name Description
Every N Wins / Losses Triggers every time N total wins or losses hit.
Every Streak of N Triggers on every multiple of N consecutive wins or losses (e.g. loss #2, #4, #6).
First Streak of N Triggers only once on the first time a streak of N is reached.
Streak Greater Than N Triggers on every loss or win while streak is strictly greater than N.
Streak Lower Than N Triggers while streak is strictly lower than N.
Profit / Loss / Balance Thresholds Triggers when profit or balance is Greater Than, Equal To, or Less Than a dollar amount.
Every Balance Double (2x) Triggers every time the balance doubles relative to the last base bet benchmark.
Every Balance Increase of X% Triggers every time the balance grows by X%.

Strategy Actions (18)

When a condition triggers, any of the 18 automated actions can be executed:

Action Operation
Increase bet amountMultiplies current bet by (1 + X%)
Decrease bet amountMultiplies current bet by (1 - X%)
Increase win chanceIncreases win chance by X% of current chance
Decrease win chanceDecreases win chance by X% of current chance
Add to bet amountAdds fixed amount X to bet
Subtract from bet amountSubtracts fixed amount X from bet
Add to win chanceAdds X% to win chance
Subtract from win chanceSubtracts X% from win chance
Set bet amountSets bet amount to exact value X
Set win chanceSets win chance to exact value X
Double base betDoubles the initial base bet benchmark (2×)
Triple base betTriples the initial base bet benchmark (3×)
Increase base betIncreases base bet benchmark by X%
Set base betSets base bet benchmark to exact value X
Switch over underToggles between Roll Over and Roll Under mode
Reset bet amountResets bet to initial starting bet
Reset win chanceResets win chance to initial starting chance
Stop autobetImmediately halts autobet execution

Parallel Multi-Simulations

Run up to 100 parallel strategy simulations simultaneously in background threads!

PARALLEL ENGINE Key Simulation Capabilities
  • Parallel Runs Input: Set 1 to 100 simulations above Start Autobet.
  • Run Selection Dropdown: Switch between individual run charts (Run 1, Run 2, etc.) in the Live Stats modal.
  • Peak Profit (All Runs): Displays the highest profit achieved across all parallel runs.
  • Best Run & Probability: Pinpoints the best run ID and displays the mathematical occurrence chance (e.g. Run #19 (0.78%)).
  • Avg Max Multiplier: Tracks the average peak balance multiplier across all simulation runs.

Live Stats & Analytics

The Live Stats modal provides a real-time HTML5 Canvas chart displaying profit progression, peak profit lines, zero-profit baseline, and loss streak analytics.

Risk & Loss Calculator

The Strategy Assistant side panel includes an automated risk analyzer:

  • Strategy Risk Rating: Evaluates strategy risk profile (Low Risk, Medium Risk, High Risk).
  • Loss Streak Deficit Analysis: Calculates the exact loss streak number where Martingale payouts fail to recover previous accumulated losses.
  • Balance Bust Threshold: Calculates the exact consecutive loss streak required to wipe out your starting balance.
  • Interactive Loss Streak Simulator: Enter any loss streak number N to calculate bet size, payout, and net recovery.

Groq AI Advisor Engine

The AI Advisor tab connects directly to Groq's high-speed Llama-3 AI model to deliver real-time strategy analysis.

FREE GROQ KEY SETUP Step-by-Step Guide
  1. 1 Go to console.groq.com.
  2. 2 Create a 100% FREE account (No credit card required!).
  3. 3 Click API KeysCreate API Key.
  4. 4 Copy and paste your key (starting with gsk_) into the AI setup box.
ZERO TOKEN BURNER Read-Only Live Context

The AI Advisor has READ-ONLY access to inspect your live game stats, selected strategy, condition rules, and all parallel simulation runs. It compresses snapshot data to keep token usage ultra-low so you can chat freely without hitting API limits.

Data Storage & Privacy

Learn how and where your account balance, strategies, and Groq API keys are stored locally on your device.

LOCAL STORAGE 100% Client-Side Privacy

All app data is stored exclusively inside your browser's localStorage. No remote servers or backend databases store your strategies or API keys. Your data never leaves your computer.

Storage Key Contents & Purpose Persistence
dice_balance Saves your last active test account balance. Persists across browser sessions.
dice_strategies JSON array of all your created, edited, and duplicated custom strategies and condition rules. Persists across browser sessions.
groq_api_key Stores your personal Groq API key (gsk_...) for AI Advisor queries. Persists locally; clearable anytime via "Change Key".
groq_chat_history Stores the last 6 messages of AI Advisor chat history for token optimization. Capped automatically to 6 messages.
DATA MANAGEMENT How It Works
  • Automatic Sync: Every strategy creation, edit, deletion, or balance update immediately syncs to localStorage.
  • Clearing Data: Resetting browser cookies or site storage will restore default settings and clear saved strategies.
  • Security: API keys are sent directly to Groq's official API endpoint (api.groq.com) via HTTPS without third-party intermediaries.

Support & Tip Developer

Dice Tester is 100% free and open for the community. If you enjoy using the suite to optimize your casino strategies, consider sending a tip on Stake!

STAKE USERNAME How to Send a Tip

You can send tips directly on Stake.com or Stake.us using the username below:

Stake Username
bgtulk

Thank you for your generous support! Your tips help keep Dice Tester updated with new features & advanced simulation algorithms. 🙏