Pixel Rot Defense
Colored cells appear on a grid, and each one is a patch of rot that can spread to its neighbors. Click a patch to clear it. Every new infection chips away at Screen Integrity, and the run ends if integrity reaches 0, if 80 percent of the board is infected, or if the board fills up. You pick the grid size before you start. Later waves bring faster rot and three special rot types, plus power-ups you earn along the way.
How to play
- Choose a Grid Size from 10 by 10 to 25 by 25, then press Defend Your Screen.
- Click colored cells to clear them. Gray is normal rot. From wave 3 red rot appears and gets two spread attempts per tick, from wave 5 purple rot costs 3 integrity per infection, and from wave 7 green rot gets three attempts per tick. Points per clear are the rot's value times the current wave.
- Watch the Wave Progress bar. Wave 1 asks for 10 clears, wave 2 asks for 20, and each wave after that needs 5 more. Finishing a wave restores 10 percent integrity and speeds up both spawning and spreading.
- Every third wave you earn one random power-up. Nuke clears all rot, Freeze stops spawning and spreading for 5 seconds, and Heal restores 30 percent integrity.
- When the run ends you see score, waves survived, pixels saved, and click accuracy, plus a defense rating. Beat the stored high score and it is replaced for your next defense.
Why the old patches are the ones to hit
A fresh patch is harmless at first: it ages one step per spread tick and only starts spreading from its second tick. After that, every tick it rolls to infect one random neighbor (up, down, left or right) once per attempt its type allows. The chance is 35 percent in wave 1 and climbs 5 points per wave, so by wave 14 every attempt succeeds. That means the patches actively spreading right now are the established ones, and a cell that just appeared buys you a tick before it matters.
Integrity is charged once, when a cell gets infected, and clearing it later never refunds that damage. Only a wave clear (+10) or Heal (+30) brings it back. So the score you are protecting is future infections: hit old green and red patches first, since they roll the most attempts. Spread attempts that land on an already infected cell or off the edge are wasted, which is why a lone patch in open space does more harm than one tucked into a corner. On the 25 by 25 grid the cells are only 12 pixels wide, against 20 on 10 by 10.