← Personal Projects

Personal Project

Data Drop

A small plinko game behind my face in the sidebar: drop my head ten times and watch your score build. It is also a portrait of how I work on games. I set the rules, simulate them, playtest aggressively and refine it until I get the experience I’m looking for.

Play Data Drop →

Balancing

Two modes, one average

Both modes pay the same on average. What changes is how far a game can swing, that is what turns a potentially boring experience into something exciting.

Variance vs. Mean

Excitement builds when you have a range of possible outcomes. The corners being so much worse than th middle makes each drop feel like a true tension building moment.

Standard deviation 18,485 vs 3,786

Pegs that pay more

Having the pegs increase in points gives the player some amount of meta progression throughout the game. It makes each drop feel a little bit different, even when you are trying to drop from the same location each time.

About 32% of all points in high variance, 27% in low

High + Low Chances

The right balance between negative results and jackpots is critical. Too many negative experiences will keep players from playing, while just the right number of jackpots creates real anticipation.

Each corner 6.8% → 3.3% of drops

Smooth Gameplay

Every gap on the board is wider than the falling head. A script checks this every time the board changes. Making sure the game plays as expected each time is important to a smooth gameplay experience.

Smallest gap 48px, head 40px

Simulation

Testing every rule before it ships

I didn’t guess whether a change was fair. I played it 100,000 times per mode first.

Step 1

One engine for both

Same rules, no drift

The physics and scoring live in one file with no browser code. The game and the simulator both run it, so the stats describe exactly the game you are playing.

Step 2

Simulate like a person

One spot, a little wobble

Each simulated player picks a spot on the drop zone and aims for it on all ten drops, landing slightly off each time, the way a real hand would.

Step 3

Measure, then decide

Data to drive milestones

I wanted a flame on the top peg level, but the simulation showed about four pegs get there every game. So the effect moved to a peg’s 15th hit, which happens in about a quarter of games.

Step 4

Run it ahead of time

Instant stats on the page

100,000 games per mode take a couple of minutes, so they run before the site is built and save to a file. The page loads it instantly and compares you with every game after the same number of drops.

Visuals

Making it fun to watch

Balance makes it fair. The visuals make you want to drop again.

From sketch to board

I sketched a funnel, three rows of pegs and five buckets. It became a 12-row board with 15 buckets on a royal-to-teal color ramp.

Figma first, then code

Pegs that level up

Pegs change color as they are hit, from dim white through teal to gold, so you can see where the points are piling up.

10 color levels

A super saiyan aura

A peg’s 15th hit wraps it in a rising gold aura, and the 20th adds a teal edge and sparks. They are rare, so they feel special.

Hidden until you earn it

My face, reacting

My head pulls a surprised O face as it falls and one of five winces on every peg hit, never the same one twice in a row. This adds humor and fun into a simple game.

Photos I supplied

Reading the stats

How I Use the Stats on the Bottom

After every drop, the stats compare your run with every simulated game at the same point. Each one answers a balance question.

StatWhy it matters for balance
Mean and medianWhether the modes are fair. Matching means make neither mode a better deal, and a median below the mean shows a few big games pulling the average up.
Standard deviationHow much a game can swing. This is what the mode choice really changes. I know from experience that higher swings create a different experience. A higher and more diverse range of outcomes increases replayability.
10th and 90th percentileUnderstanding what the worse games look like and the best games look like. In a distribution for mass appeal you’ll want your lowest outcomes closer to your mean/median and your highest outcomes to feel more outsized. This makes the highs more exciting and the lows less punishing.
Minimum and maximum scoreUnderstanding the bounds can help with a bunch of different design and potentially tech decisions. For instance, using the max seen as a way to highlight cheaters could help us catch people breaking a game, you wouldn’t do that on my portfolio though right?!
Chance of a jackpotA jackpot loses it’s appeal if it always happens. Making it occur most of the games but not always strikes the right balance of big moments without creating an unnatural expectation.
Low rollsMaking the feel bad moments possible but without a lot of frequency adds real tension to each drop.
Bucket vs peg pointsHow you score matters a lot. The pegs are fun but they can’t undermine hitting a jackpot or not. Understanding the split ensures that the balance on the bottom hits the gameplay beats we want from the scoring in the game.
Your percentileIt’s fun to see where you end up! Can you hit the 90th percentile? Let me know!

Every figure comes from 100,000 simulated games per mode, played on the same board and rules as the real game.