← Dev logs
Shotclock: systems online, balance workbench humming
Library · 7 games
Dev log · Jun 25, 2026

Shotclock: systems online, balance workbench humming

Shotclock is a real game now. Every major system is online — tactical and strategic AI, relics, shops, 27 coaches across three primary archetypes, a content library hovering around 150 components and 50 relics. Shop decay works. The juice is decent. You can pick a coach, draft a deck, and play a full roguelike run from tip-off to final buzzer.

But that's not the thing I've been spending my time on. The thing I'm actually excited about — the thing that ate the last week of my life — is the balance workbench.

The balance workbench

I built an entire analysis pipeline that lets me use the tactical AI to run Monte Carlo simulations of games — thousands of them — and evaluate balance across axes I couldn't see before.

Here's what it does:

  • Mock decks at different run stages: early-game, mid-game, late-game. I can drop a new component or relic into those decks and measure how much it shifts win rates. No more squinting at a card and guessing — the sim tells me if it's OP.
  • Cosine similarity clustering: when two components or relics are too close in function, the workbench flags them. Redundant design is invisible to the naked eye but obvious to a vector comparison. I've already pruned several near-duplicates I wouldn't have caught otherwise.
  • Monotonicity evaluation: upgrade paths have to actually be upgrades. The workbench checks whether a relic's tier-2 is strictly better than its tier-1, and whether the delta is in the right range — meaningful but not broken.
  • Coach and starter deck metrics: all 27 coaches get evaluated on the same KPIs. Are certain archetypes overperforming? Are starter decks balanced against each other? I can see it in the numbers instead of feeling it anecdotally after five playtests.
  • Versioned content library: every balancing pass is tagged and diffable. I can compare v0.3 against v0.4 and see exactly which KPIs moved, and by how much. No more gut-feel reverts — the data remembers.

This wasn't in the original plan. I built it because balancing by hand — play a game, tweak a number, play again — was too slow and too noisy. One game feels unfair because the RNG screwed you, not because the card is actually overtuned. You need volume to separate signal from noise, and humans are bad at volume.

"I built a balance workbench mostly to see if I could. Turns out I can — and it's going in the toolbelt for every prototype after this."

The meta-lesson: I did the thing again

Here's the part I'm embarrassed to admit: I hand-waved my way through the workbench the same way I used to hand-wave through game architecture before Neuroscape beat the lesson into me.

I told myself "it's just an analysis tool, don't over-engineer it" — and then rebuilt and retuned the pipeline multiple times because I hadn't stopped to pressure-test the spec. If I'd treated the workbench with the same discipline I applied to the game itself — design doc, grill-me, PRD, implement — I would've saved real time and real frustration.

The lesson compounds: anything you're going to rely on for decisions deserves a spec. The workbench generates the data I use to balance the game. If I can't trust the workbench, I can't trust the balance. And if I didn't spec the workbench, I can't trust the workbench.

The good news is that catching the pattern faster — recognizing it mid-stream instead of at the postmortem — is itself progress. Neuroscape's lessons are sticking, even when I don't nail the execution every time.

Toolchain: back to Reasonix

I've switched back to Reasonix. Not for cost — the price difference is noise at this point — but because Claude Code was auto-compacting too aggressively and I couldn't get it to respect DeepSeek's 1M token context window. It kept treating DeepSeek like a 200K model and either compacting my context silently or flat-out refusing to proceed if I disabled compaction.

The tell: DeepSeek would get noticeably "dumb" around the 20% mark. Shallower responses, forgotten constraints, drift. I assumed it was a model limitation. It wasn't. It was Claude Code feeding the model a degraded, compacted version of the context I'd built up.

Reasonix still has growing pains, but fewer than a few weeks ago — the repo's update cadence is genuinely impressive, and things like line wrapping actually work now. The real win is that I can go deeper into sessions without the harness getting in my way. I've circumvented the planning-mode gaps by capturing PRDs in GitHub Issues and leaning into the labeling and Projects system to stay organized. It's not as seamless as in-terminal planning, but it works — and leaves a paper trail I can reference across sessions.

The game itself, since I almost forgot to mention it

Shotclock is a full, playable roguelike deckbuilder. Some numbers:

  • 27 coaches across 3 primary archetypes — pressure builds, shot-quality builds, hybrids — plus secondary archetypes that blend the edges.
  • ~150 components and ~50 relics. The content library is deep enough that runs feel genuinely different.
  • Tactical AI handles in-possession decisions — which cards to play, when to hold, when to push vs. stall. Strategic AI handles between-game choices: shop picks, relic selections, coach drafting.
  • Mobile-friendly from the jump. Touch-and-tap, not drag-and-drop. Works on a phone, which is still novel to me.
  • Shop decay carried over from Neuroscape, and the revenge pick — CPU takes what you don't — adds a denial-drafting layer that makes every shop feel tense.

The game is fun. Not "prototype fun" — actually fun. The two-sided card tension works. Burning a card on defense that you needed for your offensive sequence hurts exactly as much as it should. And the coaches are different enough that switching archetypes changes how you read every card in your hand.

What's next

I'm deep in the balance pass now — the workbench is generating data, and I'm using it to tune component values, relic power curves, and coach viability. The goal is to get win rates and KPI spreads into a range where I'd feel comfortable handing this to someone and saying "tell me if this feels fair."

After that: the AI opponent pass. The tactical AI works, but it plays the way I play. I need to give it distinct playstyles — a pressure-obsessed coach that overcommits on defense, a shot-quality sniper that holds cards too long, a balanced coach that plays the percentages. The workbench will help me tune those, too.

Shotclock is the best thing I've built in this lab, and the balance workbench is the best tool I've built for building things in this lab. Both are going to carry forward.

I thought I was building a basketball deckbuilder. Turns out I'm having just as much fun measuring it.

Shelved

Shotclock

Basketball roguelike deckbuilder where every card pulls double duty — offense on one half, defense on the other — and the shot clock is always ticking.