Balancing a game by player type, not by one bot: Diggings' first season
For Diggings I'd written a simulator that plays whole careers: it banks savings, buys the cheapest upgrade, moves on to the next place when the current one pays. Its verdict was reassuring. A career took about 8.4 hours and the numbers looked fair. I nearly believed it.
Then I stopped asking one simulated player and asked four.
One player is an average of nobody
The single player in my simulator had one skill level: middling. Real people aren't middling. They're clumsy, casual, good or expert, and a balance that suits the middle can be broken at both ends.
So I wrote four profiles. They differ in how often a wash or a split lands clean (25%, 50%, 75% and 95%), how well they pick a spot, and how they spend. Same game, same seeds, same rules, each played a thousand first seasons. The result of the first run was not what the single player had told me:
- The casual player won the first season 0.4% of the time. It took a median of 16 seasons to open the pick.
- The clumsy player never won in 120 seasons.
- The good player won 43.6%. The expert won 91%.
- A good player had bought everything in 2.8 hours, an expert in 2.2.
The fair-looking 8 hours was an average of a game that was far too hard at one end and far too short at the other.
What I changed
Fees first. The first fee falls due on day 5, before a season has had time to snowball, so it was the whole wall for a casual player. At Forest Creek the four fees went from 50 / 120 / 220 / 340 to 30 / 60 / 100 / 160. A first attempt at gentler fees (35 / 80 / 140 / 240) only got the casual player to 11%, so I kept going until the profiles landed in the bands I'd set: casual 30 to 50%, good 75 to 90%, expert 90%+. They landed at 40.2%, 89.2% and 91.1%.
A way out of a losing run. Every season you lose at a place gives you +20% gold there next season, stacking to +100%. A win resets it. The game says so plainly on the season-end screen ("You know this ground better"). With it, nearly every casual career wins its first season by the third.
Tools that do something for someone. Three of the four pans and three of the picks lost money for the very players who'd buy them, and 16 skills and shop items did nothing or harmed. A "hits 20% softer" con, for example, broke the game's one-hit rule on small chunks and cost about $200 a season. Each now has a job: the riffled pan for clumsy and casual hands, the deep dish for a good player with a full kit. A test checks that every description matches its numbers.
Length. Taking the hours back up came later, with licences and grades. With a day counted as about 45 seconds, my scripted players now take around 33 hours (ordinary), 25 (good) and 20 (expert) to buy everything at the first grade.
Then the check I nearly skipped
The profiles still came from me. So I played real seasons, with a script that taps the real game in a browser, at about 62% clean washes and chunks picked by eye, as a beginner does.
At Ironbark Gully, the first place on the hill, my simulated players passed. The real-tap player lost it five times out of five. My simulated players dig about twice as well as a beginner, because they always take the richest chunk in reach and hit exactly where they intend to.
I wrote a profile that plays the way the real player does: it only hits chunks on the face it can see square on, aims 62% of swings at a crack, and chips gold it happens to notice. I tuned Ironbark until that profile, and then the real player, could win it. On real taps it won 6 of 11 first tries and 3 of 3 second tries.
I then repeated this across the mid-game, 34 real-tap seasons in all. A version of the profile that buys no skills matches their income a day within 13% at every place I had real seasons for.
What I took from it
- One simulated player's career time is not a balance result. Measure by player type, and look at the ends, not the average.
- Check your profile against a real person before you trust it. My profiles were still models. The first real beginner in a browser disagreed with them within an hour.
- Say what's measured and what isn't. Real taps confirmed income a day at five places and Ironbark's first-grade win rate. The rest, later places, grades and the career hours, comes only from the simulator. I'll watch real data after launch.