Design, audit, and tune casino game math for Stake-style game pipelines. Use when defining mode math, paytables, reel strips, feature frequencies, RTP/volatility/hit-rate targets, book weights, max-win controls, simulation plans, or release sign-off evidence.
Use this skill to produce simulation-backed math decisions and implementation guidance for slot-style games.
game_id, mode list, target RTP by mode, volatility band, hit-rate band, max win cap, bonus frequency goals, and bet-unit assumptions.1,000,000 spins for directional checks and 20,000,000+ for sign-off.Use existing project verifiers first:
python3 Engine/scripts/verify_rtp.py <game_id> --spins 1000000
bash games/Darumas/verify_math.sh
bash games/Darumas/test_rtp_check.sh
When game-specific scripts differ, keep command shape the same and report the substituted paths.
When designing or auditing math, return:
Math Spec: assumptions, mode definitions, EV decomposition, target metrics.Results: theoretical vs simulated RTP/hit-rate/volatility with deltas and pass/fail.Patch Plan: exact files/functions to edit and why.Verification: runnable commands and expected pass criteria.Risks: unresolved constraints that block sign-off.references/workflow.md: detailed step-by-step execution order.references/metrics-and-thresholds.md: formulas, tolerances, and acceptance gates.references/signoff-template.md: final report template for handoff.