r/VibeCodeDevs • u/SmittyMcDaniels • 13d ago
ShowoffZone - Flexing my latest project I built a card-collection mode for my League × American football game with Claude Code. Here's how it's designed, and what I got wrong the first time
Had to repost this, had the wrong video attached previously and for some reason my body text didn't save lol.
A few weeks ago I posted 22CHAMPS here, a free browser game where you draft League of Legends champions onto a 22-player American football roster and play a season. Since then I've built a much bigger mode called Dynasty, and I want to share how it's designed, because most of the interesting problems were design problems, not code.
Dynasty mode was inspired by popular Ultimate Team modes in sports games like FIFA, Madden, MLB etc.
Stack and model: Next.js, TypeScript, Supabase, Vercel. Built almost entirely in Claude Code with Claude Opus 5.5 (660 of the 663 commits are co-authored with it). I make the design calls and play-test; Claude writes most of the code and the simulations I tune with.
The core idea: a card is a champion at a position, not just a champion
- Every champion has real stats derived from their League kit, and the game rates how well those stats fit each football position.
- A card's rating is that fit, not how "good" the champion is. So each champion gets two base cards: one at a position that suits them and one that doesn't. Lee Sin can be an 87 tight end and a 65 center. That's 346 base cards from 173 champions.
- Play a card out of position and it loses 3 rating within its position group (say, guard to tackle) or 8 anywhere else. Chemistry comes from neighboring spots sharing a region or a role.
- One rule I kept from the original game: it should never tell you where a champion is best. Out-of-position ratings come from the card's own rating minus the penalty, never the champion's true rating there, so shuffling cards around can't reveal it.
- Items are real League items: one per card, six per lineup like a League inventory, and each lasts five games.
Packs and rarity
- Bronze (58–67), Silver (68–76), Gold (77–87), then special cards: weekly Fired Up themes (this week is Freljord Week), In Form cards for champions Riot buffs in the real League patch, monthly editions, and an All-Pro for every champion (90–93), released in classes every other Wednesday.
- Packs are opened on the server with the odds shown on every pack, and there's no guaranteed All-Pro: they're meant to stay rare.
- Nothing is for sale. Coins only come from playing, and that rule shaped almost everything else.
Games: you make the calls
- A club climbs 10 divisions over 17-game seasons: 12 or more wins goes up, 6 or fewer goes down, with checkpoint floors so you can't fall all the way back.
- The game simulates itself and stops at the big moments: three times on offense, three on defense, and the last drive if it's close. You get three plays to choose from. Each shows its chances and the key matchup (your receiver against the corner covering him), and every play beats some defensive calls and loses to others.
- The CPU clubs have tendencies listed in a scouting report, and the plays you're dealt always include one that beats what the defense is most likely to call. Reading them right is the skill.
- Then you watch it run on the field: routes, the quarterback reading the field, tackles.
Beyond the season
- Turf Wars: attack other players' clubs (their lineup plays against you) and climb a ranked ladder from Sandlot to Empire.
- Marketplace: trade cards with other players for coins, with a 10% tax so coins leave the economy.
- The Gauntlet: a weekly run of seven harder and harder games, where one loss ends it.
- Contracts and daily/weekly challenges: turn in cards or hit goals for rewards.
- Crests: earned for things like winning Division 1 or a perfect season, and worn where other clubs see them.
What I got wrong the first time
- Simming paid almost as much as playing. People simmed everything. Now making your own calls pays about 3x as much, beating a stronger club pays a bonus, and the auto-sim is capped at 10 games a day.
- Weekly cards got too strong. Fired Up cards started as a champion's card +5, up to 89, nearly matching the monthly editions. Now every kind of card has its own ceiling: weekly ones 82–86, monthly editions 85–90, All-Pros 90+. A weekly boost shouldn't be a new top tier.
- Turf Wars reset every week. It felt pointless to climb. Now your rating carries over, your first 10 attacks place you quickly, and each new tier pays out once.
- Players own cards by ID, so nothing can ever be removed. Rename or delete a card and it vanishes from people's collections. The catalog only grows now, and a test fails if any card ID ever issued goes missing.
- Editing the game engine changed games already in progress. The server replays each game from a hidden seed plus your calls, so cheating isn't possible. But change the engine and a half-played game plays out differently. The rules are versioned now, and a game finishes on the version it started with.
- Count things instead of eyeballing them. Every HB Dive ran left, 321 out of 321, from a tie-breaker that always picked left. And receivers were standing still waiting for passes: their median speed at the catch was 0 yards a second. Neither showed up in screenshots, and both are now checked by tests.
Takeaways for designing with an AI agent
- Write your design rules down in a file the agent reads every session ("never show where a champion is best", "the catalog only grows"). It's what keeps 600 commits consistent.
- Simulate the economy before players do. Claude wrote simulations of a month of play, which caught most of the pay problems before launch.
- Give every kind of reward its own ceiling early, or new content will keep inflating the top.
Play now: 22champs.com/dynasty (free; signing in is just an email link). Happy to go deeper on any of it.
