MOBA / real-time strategy
One-Lane 3v3 Browser MOBA
Tested with Claude · produced Citadel Mid
The Prompt
Build a playable one-lane 3v3 MOBA in a single HTML file using Canvas 2D (inline CSS/JS, no libraries, no external assets). Keep the scope to one lane, one map and a small hero pool so the match actually finishes. Map and match: - One lane with two bases, three towers per side and a citadel. Creep waves spawn every 30 seconds from each base and meet in the middle. - Match length 10-15 minutes. Win by destroying the enemy citadel. Towers target creeps before heroes, and switch to a hero that attacks an allied hero. - Fog of war with vision radii; no minimap beyond a simple lane strip. Heroes and combat: - Three heroes with four abilities each (Q/W/E/R), one passive, and one ultimate unlocked at level 6. At least one skillshot, one shield and one mobility spell across the pool. - Right-click to move and attack; Q/W/E/R to cast; B to recall; Tab for scoreboard. Touch layout with a virtual stick and four buttons. - Last-hit gold, passive gold, XP sharing in a 900-unit radius, item shop with 12 items and three component builds per item. Bots: - A bot for each empty slot with three difficulty levels: passive, normal and aggressive. Bots must last-hit, retreat under tower and use abilities on cooldown. - Do not ship a bot that walks into the enemy base alone on Easy. Architecture: - Deterministic fixed-step simulation at 30 ticks per second, with rendering interpolation. Separate simulation state from rendering; no DOM reads in the tick. - All numbers in one balance table: hero stats, ability damage, creep stats, tower damage, item costs. The table must be printable at the end. - Seeded RNG so a match can be replayed from a seed. Testing and balance: - Run 200 bot-vs-bot matches headlessly. Report average match length, win rate by side, heroes never picked, and any match that ends before 6 minutes or never ends. - Rebalance and print a before/after table. Then list the controls and the exact win condition in plain language.
What This Prompt Produces
A one-lane MOBA is the smallest honest version of the genre: one map, three heroes, one win condition. Citadel Mid on this site follows that shape, and the fixed-step simulation is what makes 3v3 playable in a browser tab without desync.
Modification Tips
- Cut to one lane before writing a single hero. Three lanes triple the map, pathing and vision work.
- Use a fixed 30Hz tick and interpolate the render; variable timestep makes abilities behave differently on fast monitors.
- Ship bots before multiplayer. A bot match proves the map, the creeps and the win condition without a server.
- Put every balance number in one table and print it. You will rebalance dozens of times.
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.