A Python-based simulator for the Mustang Gold slot machine game. This tool performs statistical analysis of the game's RTP (Return to Player), hit rates, and other metrics through Monte Carlo simulations.
- Simulates base game, free spins, and bonus games
- Calculates RTP for different game modes
- Provides hit rate statistics
- Supports configurable number of simulations
- Includes profiling for performance analysis
- Python 3.6+
- numpy
- pandas
- tqdm
- Clone or download the repository
- Install dependencies:
pip install -r requirements.txt
Run the simulator with default settings (10 million simulations):
python Main.pyRun with custom number of simulations:
# 1,000 simulations
python Main.py -l1000
# 1,000,000 simulations
python Main.py -l1000k
# 10,000,000 simulations
python Main.py -l10mAdditional options:
-verbose: Show detailed progress during simulation-indata: Print input data structures for verification-hor-help: Show help information
The simulator outputs:
- RTP (Return to Player) statistics
- Hit rates for base game, free spins, and bonus games
- Frequency of free spin triggers and retriggers
- Performance profiling information
Main.py: Main simulation scriptbase.csv: Reel configuration for base gamefree.csv: Reel configuration for free spinsLICENSE: GPL v3 licenserequirements.txt: Python dependencies
This project is licensed under the GNU General Public License v3.0 - see the LICENSE file for details.
Todor Balabanov (todor.balabanov@gmail.com) Velbazhd Software LLC (http://veldsoft.eu/)