← Arjun Singh Mehra

Colorwinner design report

A card battler for web browsers where two teams paint a shared board. This page shows the problems I found, the decisions I made, the evidence I used and what changed in the game.

My role
Game and systems designer
Team
Solo. I direct AI tools for code and art.
Engine
Unity 6 (URP 2D), C#, Python for simulation
Platform
Browser game sites, portrait 9:16, built to run on phones
Period
Early November to 30 November 2026
Status
In development. Core systems are built. Ready for a first round of friend playtests.
Scope
10 factions plus a Classic starter set, 144 cards built (132 active), 150-level campaign plan

Results in short

I own

Rules and tuning numbers, rarity power bands, counter wheel, economy, deck slots, the 150-level plan, enemy AI behaviour, and art direction: the prompts, style rules and review.

AI tools do, under my direction

Claude writes the C# and processes the art. Gemini generates the raw images from my prompts. I review every result in the running game and send it back when it is wrong.

What this project shows

Design pillars

Core rules

The board is 10 by 16 tiles. A match lasts 120 seconds, plus 20 seconds of sudden death if tied. Owning all 160 tiles wins at once. You start with 4 gems, hold at most 10, and earn 1 gem per second, plus a bonus for each crystal node you capture. You carry a deck of 6 cards and hold 4 in hand.

Units choose targets in a fixed order: defend your own buildings, then attack enemy buildings, then enemy units. I first made each team focus one shared target, then changed it to the nearest target, because the fights stay readable.

More units on the board means slower gem income (army upkeep). Without it, a cluttered board snowballed and the player who spammed the most units won. The how-to-play text explains it.

Deck slots

A higher slot left empty can be filled by a lower card, never the reverse.
SlotCardsWhy
Legendary1One game-changing card per deck
Rare1Keeps strong cards from crowding out the rest
Uncommon2The core of most decks
Common2At least two Commons, so players learn the cheap cards too

Cards level up with a bonus of +6% per level, up to level 6. Cards start at level 1 (Common, Uncommon), 2 (Rare) or 3 (Legendary). The code first used +10% per level, and I aligned it to my plan. Decks with the same faction or realm get small bonuses, six different factions get a smaller one, and the deck screen shows the bonus before a match.

Counter wheel

Factions form a triangle. Light beats the Dark side, the Dark side beats Mortal factions, and Mortal factions beat Light. Advantage deals about 1.25× damage and disadvantage about 0.80×, small enough that skill still matters. Dragon is neutral with a small damage edge, because it is the premium faction.

Dragon: neutral, small damage edge Light Holy, Angel Dark side Dark, Necro, Demon Mortal Elf, Dwarf, Goblin, Human

Tap a group to see what it beats and what beats it. Teal arrow: it wins. Orange arrow: it loses.

Balance targets

I balance by tier first. A card's power is judged by 1v1 fights, not by how fast it paints tiles. These are the targets every card has to meet.

Targets for 1v1 fights, checked by hand tests and bot-against-bot simulation.
MatchupTarget result
Same tier, same costWinner is left with about 10% health
One tier up against one tier downHigher tier always wins, keeping about 50 to 60% health
Legendary against LegendaryWinner is left with 10 to 15% health
Cheap swarm against a higher tier at equal gemsSwarm never wins. It exists to cover tiles quickly
Tower against a same-tier unitTower wins with 10 to 20% health left
Ranged against an approaching melee unitRanged kills it before it arrives, left with 10 to 20% health

Faction targets

In bot-against-bot matches every faction should win about 43 to 58%. Classic stays near 55%. If Classic is too strong, players never learn what the other cards are worth. I cut Classic from 24 cards to 12 and removed every card that copied a faction card. I also fixed a bug where Holy was treated as neutral on the wheel.

I allow small stat changes first. I change a card's ability only if it is still weak after its stats fit its tier. For role cards, bombers paint while they run and vanish at the far edge if they never blast, spawners keep at most 2 weak units alive, and traps must deal real damage.

What I changed and why the game got better

I change one thing at a time and check it against the targets above. The first three rows are numbers I changed in the tuning file. The rest changed how a system works.

Before and after for ten design changes. Scroll sideways on a phone.
ChangeBeforeAfterWhy the game is better
Cost of seven cheap Commons1 gem2 gemsCost did not match 1v1 power, so there was no reason to pay for the pricier card. Each gem now buys about the same power.
Cost of three top Legendaries7 gems8 gemsAn 8-gem Legendary has to be a game changer, and now all Legendaries sit in one power band. I refused to lower Heaven's Herald from 5 gems to 4.
Area spell paint21 tilesabout 10 tilesSpells and cannons were winning early levels with no thinking. Cannon shots now paint 1 to 2 tiles with a cooldown. They are a tactic, and units decide the match.
Bat Swarm3 units1 unitOne card spawned 9 bats and was overpowered. One card now means one clear unit on screen.
Counter wheel strength0.70 to 1.400.80 to 1.25Extreme matchups were decided before the fight started. A smaller edge lets skill and deck choice matter.
Gem generators+1 gembuff 5 to 15%Extra gems made the leader snowball. Each building now gives a different buff, so choosing one is a decision.
Army sizeno upkeepmore units, slower gem incomeA cluttered board snowballed. Spamming units is no longer free.
Attack timer resetany hithit of 20% max HP or moreTwo quick hits could lock a hurt unit out of attacking. This removes the stun-lock.
End of matchlast-second scoreaverage over the last secondsLast-second scoring could be gamed. Sudden death now needs a lead to win.
Classic starter deck24 cards12 cardsNo Classic card now copies a faction card, and Classic Commons got +5% stats because they felt slow to kill.

Decisions in detail

Generators became buff givers.

Problem
Gem income let the player who was already ahead pull further away.
Decision
All 7 generators give a buff that grows from 5% to 10% at 45 seconds and 15% at 90 seconds, over about 2.8 tiles. Each one has a different buff: damage, armor, regeneration, speed, status shortening, life drain or attack speed. A buff loses 25% for every tier above the building's own.
Rejected
The Goblin speed buff failed testing, even as a march-only version. A kills-heal buff was too close to the Necromancy life drain. The Goblin building became Lucky Strike, a 5, 10 and 15% chance of double damage.
Evidence
Simulation put buffed units at about 15 to 18% HP left at 45 and 90 seconds.

Ranged units stand and shoot. They never back-step.

Problem
Effects were hard to read, and fights turned into one messy pile.
Decision
Archers, mages and towers engage from range and keep firing. I rejected kiting, because ranged units would dodge all damage and beat every other unit type.

The enemy sends a group, not a stream.

Problem
The enemy captured its half and stopped fighting, so matches felt boring.
Decision
Once its area is captured, the enemy sends a group the same size as the player's nearby units. A lone Legendary is never swarmed.

The 7 loopholes

Summoners and generators got value without paying the normal cost.

Problem
I found 7 ways to exploit the rules, mainly through summoner buildings and gem generators.
Decision
I fixed them together so the rules stay consistent: summons count toward the unit cap and upkeep, each summoner has a max-alive limit, the Lich King's "whole wave must die" rule applies only to him, the hurt-lock is gone, deploy zones stop me placing units on top of the enemy, endgame scoring is tighter, and I checked cheap paint-only cards and wall or trap stalling.
Why it matters
Fixing one hole at a time just moves the exploit. One rule set closes the whole class of problem.

Level design

The campaign plan has 150 levels. I design each level for a feeling, not just a difficulty number.

What each level type should feel like.
Level typeWhat the player should feel
EasyA clear win that teaches a card or a rule. Target about 90% wins.
NormalA close match, with an occasional loss. Target about 70% wins.
Counter levelA loss unless the player changes their deck
SpikeA win by one or two percent, often after losing once
Mini bossAbout two tries
BossThree or four tries, then a new faction unlocks

After a loss the game eases a little in the background. That help fades after level 55, because an invested player learns to change cards. I kept level 5 hard on purpose and accepted the risk, because players on browser game sites retry after a loss.

Two-wave boss fights

I tested a prototype on level 10 and rated it "very good", then applied the two-wave format to every boss level. Wave 1 uses a normal deck, and the survivors carry over at full HP. Wave 2 uses a separate deck of Uncommon cards and above, with no Commons, at most 1 Legendary, and at most 3 cards that are Rare or Legendary.

Bosses get one spell only. Two at once felt unfair and ended my interest in playing Angel. Bosses get no hidden stat bonuses, because the AI plays cards instantly while a person has to look, choose and place. I rejected mixed-faction bosses. I want a smarter boss that reads the player's moves and shows off its own faction.

Unlock pacing

Levels 1 to 5 use starter cards only. Human cards arrive from a chest, Angel unlocks at level 10, Demon at level 15, then a new faction roughly every 10 to 15 levels. Each new faction gives about 3 hand-picked starter cards, so players are not flooded. Before each unlock the player faces a hard boss that uses that faction, so they meet it as a threat before they get to use it. The player should lose to a new faction's boss once or twice, so they learn what the faction is worth. After level 150 an endless mode starts, with an enemy that learns the player's combos.

Economy and progression

Goal: coins make players choose which cards to max and which to leave, so they feel invested, and Legendary cards stay special.

The economy as designed. Diamonds are planned for later.
SystemMy design
Packs4 pack slots. The timer starts only when the player taps start: Common 2 min, Uncommon 5, Rare 10, Legendary 30. A rewarded ad skips 10 minutes. Opening a pack never costs currency.
PityA guaranteed Rare after 30 packs without one, and a Legendary after 150
UpgradesCoins pay for card upgrades. Extra copies of a maxed card turn into coins.
Daily tasks5 tasks that give cards, about 5 to 6 cards a day
Daily shop2 Common, 1 Uncommon and 1 Rare offer, bought with coins
Legendary ruleNo guaranteed Legendary pack. A player who has gone about 10 days without one, after about level 40 to 45, sees a Legendary offered in the shop for coins.
DiamondsPlanned. Earned by skill, for example 90% or more board capture, or by ads.

The order I worked in: economy first (coins, upgrade costs, rewards, pace), then level design, then the AI self-play run, then level calibration last. If I had calibrated the levels first, I would have redone every level each time the economy changed.

Enemy AI

The first version felt boring: the enemy captured its half and stopped. I changed the design in these ways.

Enemy decks are balanced, not worst-case combinations.

Decision
From level 46 every enemy deck has 1 Legendary, 1 Rare, 2 Uncommon and 2 Common, with at least one melee and one ranged unit and at most one building. Before level 46 the deck follows the cards the player owns.

A comeback rule on every level.

Problem
A player who fell behind could not recover.
Decision
When the enemy holds 30% of the board or less, it gets a short burst of fast gems and about four quick plays, then returns to normal. When the player is down to 30%, the enemy army keeps moving on its own tiles for about 12 seconds so the player can recover.

Enemy power follows the player, with a cap.

Decision
From level 11 the enemy mirrors the player's tier. If I own a Rare, it gets up to 2 Rares. A Legendary appears only from the level after I first win with one. Enemy power is capped at about 10% above mine and eases after the 2nd or 3rd loss. The enemy never opens with a cannon.

Difficulty should feel like a mood: sometimes easy, sometimes neck and neck, sometimes hard, with a loss roughly every fourth normal match. The AI eases a step after each loss, but a real hard part stays.

How I test the AI (simulated only)

I built three scripted test bots: Casual, Focus and Pro. My own play is only Casual level, so I treat it as one reference. A small neural brain trained by self-play went from 31% to 92% wins on levels 1 to 10, then stalled at about 55 to 65% on levels 1 to 30. I keep a saved baseline and run a one-command regression check after every change.

Saved baseline, win percent. Simulated only. Bots play weaker than a casual human, so real levels and bosses are made harder than these targets.
LevelCasualFocusPro
540.866.368.3
5041.569.898.8
1009.322.076.0

Level 15 was inverted: the lower bot tiers did slightly better than the higher ones. That means something is wrong there, so it is on my fix list.

The game was running the old enemy AI.

Problem
The new AI was switched off, so the game did not match the simulator.
Decision
I switched it on, so what I measure is what players meet.

Boss filler cards were picked by raw stats.

Problem
Cards that suit the boss were not chosen. Levels 10 and 15 became harder than intended, and levels 50, 100 and 150 became easier.
Decision
I will hand-pick the wave-2 decks for the 12 boss levels (10, 15, 28, 43, 50, 58, 73, 88, 100, 103, 118, 150). Level 50 is the pilot.

Where I disagreed with the suggestion

Research reports and AI suggestions are input. I test them against my own game, and these are some I changed or rejected.

Faction and character design

There are 10 factions: Human, Angel, Demon, Dark, Dwarf, Elf, Goblin, Holy, Necromancy and Dragon. Each has 12 cards: 1 Legendary, 2 Rare, 3 Uncommon and 6 Common. A starter set of Classic cards has no faction.

Each unit must stand apart from the others in its faction. Silhouette, material color, weapon and attack effect all have to differ. When the Angel Sky Guard looked too close to the Sky Lancer, I had it redrawn. Attack effects start at the weapon or instrument, never the body, and run slowly enough to see. Walls cover at most 2 tiles and are at least as tall as the Classic wall.

Team identity comes only from the outline: teal for the player, orange for the enemy. No sprite uses teal or orange inside, so a player never confuses their units with the enemy's.

World and story

I build each faction as a small world with its own look and attitude. Light, Dark and Mortal sit on the counter wheel, so story and rules support each other. Every new faction arrives through a boss fight, so the story beat and the game beat are the same moment.

What is still open

Balance is tested by simulation and by hand, not by real players yet.

Why it matters
My test bots play worse than a casual human, so their win rates are a guide, not ground truth. I make levels and bosses harder than the bots suggest and tune them myself.
Next
A small browser build, portrait only and as small as possible, for 4 to 5 friends. Real data will confirm or correct my simulated results.

Work that is still to do.

Balance
Hand-pick wave-2 boss decks and re-run the tier table. Fix the boss gap between the Focus and Casual bots. Finish the exploit checks for edge-stacking, spell-spam and unused cards. Decide the Cannon Turret cost (it is 3 now and tested too strong against melee) and which "magnet" cards to remove.
Levels
Calibrate all 150 levels, then hand-check levels 5, 9, 10, 15, 50, 100 and 150.
Polish
Sound design and music.
Email me Play the games