Skip to content

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Roulette Strategy Simulator

A Python-based simulation tool to analyze and debunk the "Fibonacci on Column 1" Roulette betting strategy.

🏃‍♂️ How to Run

  1. Open Terminal in the project folder.
  2. Run the Streamlit app:
    streamlit run app.py
    (If using the Homebrew installed python, you might need /opt/homebrew/bin/streamlit run app.py)

🧠 The "System"

The simulator tests a popular (but flawed) progressive betting system:

  1. The Trigger: Wait for Column 1 (Numbers 1, 4, 7...34) to LOSE 5 times in a row.
  2. The Attack: Start betting on Column 1.
  3. The Progression: Use the Fibonacci Sequence (1, 1, 2, 3, 5, 8...) to determine bet size.
    • Win: You pocket the profit and two steps back in sequence (or reset, depending on variant). This sim resets to monitoring.
    • Lose: You move to the next number in the sequence (betting more to recover).

📊 Features

1. Single Run Mode

Visualize a single player's session with real-time graphs and a "Sweat Meter" that tracks your bet sizing stress levels.

2. Monte Carlo Analysis

Simulate 50-200 players simultaneously to visualize the spread of outcomes. The "Spaghetti Plot" shows you the reality of variance vs. expected value.

3. Strategy Optimizer (Grid Search & Random Search)

  • Grid Search: Compare specific "Recovery Modes" (Reset vs Step Back) across a range of triggers.
  • Treasure Hunt: A Random Search algorithm that generates hundreds of unique strategies (mixing different Triggers, Win Steps, Loss Steps, and Stop Limits) to find the absolute statistical best configuration.

4. Advanced "Laboratory" Controls

  • Trigger: Wait for X losses before betting (1-20).
  • Recovery Steps: Choose how many steps to retreat on a win (1, 2, 3, or Reset).
  • Aggression: Choose how many steps to advance on a loss (Skip ahead).
  • Stop Limits: Set Take Profit and Stop Loss targets.

⚠️ Disclaimer

Roulette is a game of chance with a negative expected value. No betting system can overcome the house edge in the long run. This simulator is for educational and entertainment purposes only. Do not gamble with money you cannot afford to lose.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages