Simulation: Gacha System (BETA)
Where Config Goes
my-game/
├── config.json ← option A: all-in-one (add "simulation" key)
├── config/ ← option B: split files for complex games
│ └── boosters.config.json
├── game.config.json ← game ID + build settings only (separate)
└── package.jsonWhat You'll Build
Server Configuration
Step 1: Define Pack Entities
Step 2: Define Reward Entities
Step 3: Define Pity Counter Entities
Step 4: Define Loot Tables
Step 5: Define Pack-Opening Recipes
How Rolls Work
How New-Item Bias Works
Client-Side Implementation
Step 1: Read Pack Inventory
Step 2: Subscribe to Pack Count Changes
Step 3: Open a Pack
Step 4: Display Results
Step 5: Check if Player Can Open
Purchasing Packs
With Premium Currency (Wallet)
Free Booster on Cooldown
Common Variations
Faction-Specific Packs
Wildcard Conversion
Curated Starter Pack
Displaying Drop Rates
Best Practices
Last updated