Strategy / real-time card battle
Three-Minute Real-Time Card Battle With Lanes and a Clock
Tested with Claude · produced THIMBLE KNIGHTS: Animal Card Battle Game
The Prompt
Build a real-time card battle game in ONE self-contained HTML file (inline CSS/JS, DOM or Canvas). No external assets: all art is inline SVG or CSS shapes. Match structure: - Two sides, three towers each: two lane towers and one Queen's Stump at the back. Six towers total, symmetric layout. - Two lanes split by a river with exactly two bridges. Ground units may only cross at bridges; flying units cross anywhere. - Three minutes of regulation time. Destroying the Queen's Stump ends the match immediately and awards all three towers. Otherwise the side with more towers destroyed wins on time. - Last 60 seconds is Golden Hour and income doubles. On a tie, go to Dusk: 60 seconds of sudden death, first tower to fall wins, with the Honey rate doubling and then tripling in the final 30 seconds. If nothing falls in Dusk, the side whose weakest standing tower has more health wins. Economy: - Honey resource: start 5, cap 10, +1 roughly every 3 seconds. Put the exact drip interval in one constant at the top of the file. - Deck of 8 cards, hand of 4, played card goes to the back of the cycle, next card always visible. - Troops take 1 second to arrive, shown as a spawn ring, so the player places before they need to. - Cards must be data-driven in one table, with at least: 3-cost squad blocker, 3-cost single tank, 3-cost ranged pair that can hit flyers, 3-cost flying squad, 5-cost building-only ram unit, 3-cost ground-only splash unit, 4-cost delayed area spell that is strong against troops and weak against towers, 2-cost rolling lane spell that pushes ground units back. - Every card has cost, type (troop, building, spell), targeting rule (ground only, air and ground, buildings only, anywhere), health, damage, speed, range and deploy time in that table. Rival AI: - Named rivals with their own 8-card decks and one behavioural tendency each: rusher, defender, spell-heavy, split-pusher. - The AI may place cards on its own side only, must answer the player's committed troops, and must spend Honey instead of sitting at the cap. - The AI reads only what a human could see. No hidden information, no cost discounts. - The first match is coached and the rival deliberately plays badly. Progression (light but persistent): - Six garden tiers unlocked by trophies. Each win gives gold, card copies and a seed pod; one free pod per day. Card levels are small capped numeric upgrades to health and damage. - Persist progress in localStorage and allow guest play without saving. Controls and UI: - Drag a card onto the lawn, or tap a card then tap a target. Keys 1-4 arm a card; Escape disarms. - Spells target anywhere; troops and buildings only on your own half. Destroying a lane tower opens the corresponding strip of the enemy half to deployment. - Portrait-first layout, 44px minimum touch targets, readable at 360px width. Show tower health, blossoms, the Honey bar, the next card and the clock at a glance. Balance and testing: - Run 500 headless AI-vs-AI matches per rival pairing and report: average match length, win rate by rival, share of matches decided in Golden Hour or Dusk, cards never played, and average Honey wasted at the cap. - Fail the build if any rival win rate falls outside 30-70% against the baseline deck, or if a card is played in under 2% of matches. Deliver in stages: lanes, towers and Honey first, then card placement, then combat and spells, then the clock and Dusk, then the rival AI, then progression. Print the card table and the balance report at the end.
What This Prompt Produces
THIMBLE KNIGHTS is the reference: 3-minute matches, a 4-card hand from an 8-card deck, a Honey drip that doubles in Golden Hour and a sudden-death Dusk, plus six gardens of named rivals with their own decks, built with Claude Fable 5.2. The clock is what turns a card game into a browser-sized one.
Modification Tips
- Make the clock part of the design, not a timeout. Golden Hour and Dusk give the last minute a shape, which is what keeps matches from ending in a stalemate.
- Restrict ground units to bridges. A river with two crossings turns placement into lane choice without adding a third lane.
- Let spells target anywhere while troops stay on your half. That split gives the deck range without removing the positional game.
- Report cards never played. In an 8-card deck, one dead card is 12% of the design doing nothing.
The Game This Prompt Produced
Want to try it? Open Claude, paste the prompt, and you'll have a playable game in minutes. When you're happy with the result, submit it to Daily AI Games.