UYLLII

Blog › Game design

Game design

The skill tree changed everything: why I rebalanced Diggings twice

By David3 min read
Diggings feature graphic

Diggings has a skill tree you spend your day's cash on each evening, 61 skills for the pan and 61 for the pick. It turned out to decide almost everything about the balance.

Round one: nobody bought a skill

I'd tested the mid-game with a script that taps the real game in a browser, at about 62% clean washes, picking spots and chunks by eye. In 34 real-tap seasons it never opened the skill tree. And it lost: Quartz Hill 0 of 5, Reedy Creek 0 of 5, Golden Point 0 of 4, Forest Creek grade II 0 of 3. The simulated casual player I'd balanced against won 25 to 38% at those places, because it bought skills.

When I measured what skills were worth, the gap was large. The same player buying just the cheapest skill each evening earned 1.3 to 2 times as much in days 1 to 5 of a season, and 2.3 to 14 times as much by days 6 to 10. A player who never opens the tree earns the same each day all season. One who does snowballs.

So I retuned the later places for the player who buys nothing, lowering their fees and re-deriving licences, goals and daily rewards, until that player won a fair share of first tries. It looked done.

Round two: a player who does buy skills

But "buys nothing" is a floor, not a typical player. The game puts a skill offer in front of you every evening and the fee warning tells you when buying will leave you short. Most people will buy. I added exactly that to my tapping script: open the skills every evening, buy the cheapest one it can read, keep the next fee in hand and a small float.

On the old fees, that player lost every mid-game season. On the retuned fees, it won every one, with two to seven times the last fee still in hand on day 20. The retune had been right for the player who buys nothing and far too easy for the player I expected.

Why it ran away

The tree itself was part of it. Late in a season, buyable skills sat off the edge of the screen, so my script (and a real player) could not see them. Once I fixed that, the same player kept buying all season and the snowball really ran. At Quartz Hill its income on days 16 to 20 was $2,820 a day; on the old tree it had been $351. At Golden Point it was $28,737 a day against $1,434, with 43 skills bought by day 5.

The cause was in my price list. A skill cost the same $8 to $100 at every place, while a place like Golden Point paid 10 to 40 times what Ironbark did. A player there could buy the whole tree in a few evenings.

The fix

Two changes:

  1. Skill prices scale with the place. I fitted a multiplier for each place so that the skill-buying player, from its own typical kit, ends up holding about 1.6 times the cash of the no-skills player on the last fee night. Skills still pay off at every place (49 to 67% first-try wins, against 14 to 28% for the player who buys none), but never run away. A higher grade raises skill prices too, by the square root of its fee multiplier.
  2. Later fees carry the difficulty. The first two fees stay gentle, and the third and last go up at the seven later places, so the final fee is the hurdle, as it is at Ironbark.

I also raised the win bonus at the later places, so a lost season banks 39 to 49% of what a won one does.

I confirmed this with another 24 real-tap seasons with the fixed tree. The simulator, replaying each season's own first morning, predicted day-20 cash within 10% in 15 of the 23 seasons that reached it. At Quartz Hill the skill-buying player won 3 of 3 after the retune.

The lesson

Test the player you actually expect, not the player who's easiest to script. The player with no skills was a useful floor, and I still check that nobody falls through it, but a balance fitted only to it was wrong for almost everyone. The same goes for any system with a snowball in it: if players can buy their way ahead, a test where they don't tells you nothing about the middle of the game.

I'm still unsure how far a real person differs from my script in which skills they buy. It always buys the cheapest, and a person may pick by effect. That's something I can only learn from players.