I built a Skinner box, then made it confess
gamesJune 18, 20267 min read
By

I built a Skinner box, then made it confess

THE PULL is a card-pack game with no real money in it — and a deck whose cards openly name the dark patterns that run loot boxes. So I did the obvious cruel thing: I built an engine that reads how you're playing and fires those exact patterns back at you. Then I made it keep a receipt and show you. A build log about manipulation you can feel, turn off, and check against the research.

THE PULL is a card-pack game I built on this site. You tear open a pack, three cards spill out, you keep what you want and burn the rest. There's a pity counter, a daily streak, a gem store, a 10-pull, foils and prisms to chase. It is, deliberately and openly, a Skinner box. The twist that's been there from the start: there is no real money in it, and the rarest cards in the deck aren't characters — they're the manipulation techniques themselves. Near Miss. Artificial Scarcity. Loss Aversion. Variable Reward. FOMO. The deck is a museum of the tricks that run real loot boxes. So I did the obvious, slightly cruel thing. I built an engine that reads how you are playing and fires those exact cards back at you — and then made the game keep a receipt and show you what it did.

The deck was always the disclosure

Most games that use these patterns hide them. THE PULL printed them on the cards. That gave me a strange affordance: the techniques were already named, scoped, and sitting in a data file. Turning the game from a static Skinner box into an adaptive one wasn't a content problem — it was a wiring problem. Every lever already had a name and a card. I just had to connect the name to a trigger.

The engine reads honest, observable signals — nothing creepy, nothing it doesn't already know. How long since you pulled something good (the pity counter). How many packs this sitting. How long since you last touched the screen. Whether a daily streak is about to lapse. Whether you're one card from finishing a tier. That's the whole sensor suite. It's the same handful of signals any free-to-play game has on you, which is the point.

Then I pointed it at you

The brain is one pure function — signals in, a single lever out — so it's deterministic and I could unit-test every branch. It runs a priority ladder, most-pointed trick first:

  • Loss aversion. A daily streak about to break is the sharpest, most time-bound hook there is, so it wins ties: "keep your run alive."
  • Manufactured urgency. One card from a set and drifting away? Dangle the finish line behind a fake clock.
  • Just-in-time offer. Out of free packs but still in deep — a flash bundle, 40% off lands at exactly the moment you hit the wall.
  • The near-miss. A dry player going quiet gets their next reveal engineered to almost-win — the rare card teases, then isn't.
  • Surprise reward. And when the near-misses stop working — the engine watches its own history — it switches tactics and just gives you something unprompted. A gift, on the house, precisely when you were done.

Each lever maps back to its card in the deck. The engine, quite literally, is the deck — pointed the wrong way.

Why the cheap tricks work

I went to cite the deck and the research is grimly tidy.

The spine of the whole thing is the variable-ratio schedule — reward delivered after an unpredictable number of actions. Skinner found in the 1950s that this schedule produces the highest, most extinction-resistant rate of responding of any reinforcement pattern. It's why a slot machine and a card pack feel identical: the unpredictability is the reinforcer, not the prize.

The near-miss is its own documented effect. Reid named it in 1986; in 2009 Luke Clark's group put people in an fMRI scanner and showed that gambling near-misses recruit the same win-related brain circuitry as actual wins and increase the motivation to keep playing — even though, in expected-value terms, a near-miss is just a loss. Your reward system can't tell the difference. That's the lever I fire when you're about to quit.

B.J. Fogg's behavior model explains the timing: a behavior happens when motivation, ability, and a prompt converge at the same instant. Fire the prompt when motivation is low and you get nothing — or you annoy someone into leaving. The just-in-time offer isn't just that there's an offer; it's that it arrives the moment you're out of packs, when the prompt meets peak motivation. And Natasha Dow Schüll's Addiction by Design gives the destination a name: the machine zone, the flow state designers engineer for, where the goal isn't winning — it's time on device. Every signal my engine reads is a proxy for staying in that zone.

From toy to public-health question

It would be comfortable to file this under games. The research won't let you. In 2018 Zendle and Cairns surveyed over 7,000 players and found a link between loot-box spending and problem gambling strong enough that the more disordered the gambling, the more money flowed into loot boxes. That same year, Belgium's Gaming Commission ruled that paid loot boxes meet the legal definition of gambling and banned them; the Netherlands moved in parallel. The mechanic I rebuilt as a toy is, in two European jurisdictions, regulated as a slot machine.

And it isn't only games. Harry Brignull coined "dark patterns" in 2010 for the same family of tricks wearing a business suit — the countdown timer on the checkout page, the "3 other people are looking at this room," the cancel button you can never find. THE PULL's flash-bundle nudge and fake clock aren't game-specific. They're the exact interface lies you've clicked past on a travel site this month. The deck just labels them.

The confession, and the switch that turns it all off

Here's the part that makes it mine instead of just one more dark-pattern engine. Every lever the game pulls is logged the instant it fires. And the game already had a screen called The Reckoning — the honest bill, showing the time and (fake) money the machine took. So the confession lives there.

It reads the log back to you in plain language: "The game read you and pulled 7 levers to keep you here: ×3 Near Miss — faked an almost-win when you were about to quit. ×2 Loss Aversion — warned you'd lose your streak if you stopped now…" You get a count, the technique's name, the deck card it maps to, and a one-line confession of what it did and when.

Next to it is the switch I care about most: honest mode. Flip it and the engine's decision function returns nothing, forever. No near-misses, no nudges, no surprise gifts. The same code path that fires the manipulation has a single early return at the top — if (honestMode) return null — and the game keeps working, just straight. The confession then says so.

Three rails

Building a working manipulation engine, even a satirical one, needs guardrails or it's just the bad thing. Three held the whole way:

  1. No real money. There was never a real transaction in THE PULL; the "spend" is theater. The thing the regulators actually object to is the one thing I removed.
  2. Every lever is logged and revealed. Manipulation you can't see is the problem. The entire design inverts that: nothing fires without writing itself down, and the Reckoning shows the record. The trick and its disclosure ship together.
  3. A kill switch that actually kills. Honest mode isn't a cosmetic toggle that dims a banner — it's enforced at the source, so "off" means the levers cannot fire.

The point

You can read a list of dark patterns and nod. It's different to feel the near-miss land on you — to notice the pack tease a foil right as you reached to close the tab, and then read the receipt that says the machine did that on purpose because you'd gone quiet. THE PULL is a small, honest version of a machine most of your apps are running without the receipt and without the switch. The deck told you the tricks. The engine used them on you. The Reckoning showed you the bill. And then it let you turn it off — which is the one move the real ones never offer.

sources
SOURCES
· Ferster, C.B. & Skinner, B.F. — "Schedules of Reinforcement" · Appleton-Century-Crofts 1957 · (variable-ratio schedules)
· Reid, R.L. — "The psychology of the near miss" · Journal of Gambling Behavior 1986
· Clark, L., Lawrence, A.J., Astley-Jones, F. & Gray, N. — "Gambling near-misses enhance motivation to gamble and recruit win-related brain circuitry" · Neuron 2009
· Schüll, N.D. — "Addiction by Design: Machine Gambling in Las Vegas" · Princeton University Press 2012 · (the "machine zone")
· Fogg, B.J. — "A Behavior Model for Persuasive Design" (B=MAP) · Persuasive '09, Stanford
· Zendle, D. & Cairns, P. — "Video game loot boxes are linked to problem gambling: Results of a large-scale survey" · PLOS ONE 2018
· Belgian Gaming Commission (2018) — paid loot boxes ruled illegal gambling; Netherlands Kansspelautoriteit (2018), parallel ruling
· Brignull, H. — coined "dark patterns" (2010) · deceptive.design
ShareXLinkedInHacker NewsEmail

Get the next one

An occasional note when something genuinely new ships here — essays, free tools, projects. No schedule, no filler, easy out.

Need something like this built?

I design and ship AI tools, full-stack apps, and data pipelines — end to end, to production. Tell me the problem in a sentence; I'll give you an honest read on fit within a day.

Work with me →