Boring Websites The Blog

Pixels Fighting: the website where two colors battle to the death

25 Sep 2026 · By the Boring Websites editors

Pixels Fighting, at pixelsfighting.com, is a website that does one thing and then refuses to let go of your attention: it splits a square grid between two randomly chosen colours and leaves them to fight for every cell until only one colour is left. Nobody plays it. The visitor just watches two shades, picked fresh on each page load, ripple back and forth across the screen in a slow war that always ends, eventually, with a total winner.

In brief

  • At pixelsfighting.com two random colours start split down the middle of a grid, then spread into each other's territory one cell at a time.
  • Each cell decides its next colour by a simple rule of chance: it is more likely to flip to whichever colour surrounds it most, so the border churns unpredictably.
  • It is a zero-player game. There are no controls, no score and no way to intervene, only a battle that runs until one colour has taken every cell.
  • The site was made by Jan Tewes Thede and its code is left unminified, so anyone curious can read exactly how the fight is decided.

What Pixels Fighting actually is

Pixels Fighting is a single-purpose website, built around one loop rather than a set of features. Open the page and a 500-pixel square canvas appears, already divided in two: one colour filling the top half, another filling the bottom. Within a moment the clean border between them starts to break up, and the two colours begin trading cells along the frontier. From there the visitor does nothing at all. The fight simply runs.

The two colours are not fixed. According to the site's own unminified JavaScript, each colour is generated at random when the page loads, so one visit might pit pink against teal and the next might set navy against lime. That small detail changes the mood of every session, and it means no two battles ever look quite the same even though the underlying rule never changes.

How the battle works

The mechanics are easy to state and strangely hard to look away from. The canvas is really a 125 by 125 grid of small squares, each holding one of the two colours, which works out to more than fifteen thousand cells in play at once.

On every tick of the simulation, each cell looks at the eight cells around it, counts how many belong to each colour, and then decides afresh what colour it should be. Because that judgement is repeated for the whole grid many times a second, the border between the two armies is never still. Watch closely and it looks less like a fight than like two liquids that refuse to mix.

The rule each pixel follows

The decision each cell makes is a weighted coin flip. A cell surrounded entirely by one colour will almost certainly take that colour. A cell on the frontier, with neighbours split between the two, has close to even odds of going either way. When the site was posted to Hacker News in July 2020, a commenter asked whether it was running Conway's Game of Life. The creator replied that it was not: the algorithm uses, in his words, a weighted random number with the weight determined by the colours of the neighbours. That single sentence is the whole engine.

Why one color always wins

Because the rule is pure chance nudged by the neighbours, neither colour has a built-in advantage. The frontier wanders like a coastline in a storm, and for a while it can look as though the two sides are evenly matched. But a system like this cannot balance forever. Sooner or later random drift hands one colour a lead it never gives back, and once a colour is gone from the grid entirely there is no rule that can bring it back. The screen settles into a single flat field, and the battle is over until the page is reloaded.

That inevitability is a large part of the appeal. The fight is tense precisely because it is doomed: the visitor knows a winner is coming but not which colour it will be or how long the struggle will last. Some sessions end in under a minute, others drag on far longer, and there is no way to predict which kind you are watching until it is done.

A zero-player game

Pixels Fighting belongs to a small category sometimes called the zero-player game, a piece of software that runs entirely on its own once started. The feature roundup at shouldseethis.com describes it plainly as a zero-player game and an endless war between two pixel armies, and notes that it works well as a kind of dynamic screensaver. There is no button to press, no difficulty to set and no outcome to steer.

That absence of input is the point. Most of the web is built to extract clicks, taps and attention that can be measured and sold. Pixels Fighting asks for none of it. The visitor is a spectator at a contest whose result is already fixed by chance, free to watch closely or leave a tab running in the background and glance over now and then to see who is winning. It is one of the few places online where doing nothing is the correct and only way to use the site.

Who made it

The site's source credits Jan Tewes Thede, a German developer, whose ownership of the pixelsfighting.com domain is also on record. There is no company behind the page and no attempt to grow it into something larger. The one flourish is a small footer link, where Thede points visitors toward another of his experiments, a browser game about playing a stock trader. Beyond that the page is deliberately bare: a title, a canvas and the fight.

That plainness is telling. Pixels Fighting was clearly made to satisfy a curiosity rather than to build an audience, and it has the unpolished honesty of a personal project. The interface has not been redesigned, the colours have not been tamed into a tasteful palette, and the code has not been hidden. What arrives on screen is the raw idea, presented without ceremony.

Why the readable code matters

One quiet virtue of Pixels Fighting is that its workings are open to anyone. As the creator pointed out on Hacker News, the JavaScript is neither minified nor obfuscated, so a visitor who opens the page source can read the exact loop that decides the battle. For a curious beginner this is a rare gift: a complete, working simulation small enough to understand in a single sitting.

That legibility has invited others to rebuild it. A developer at PhotoGabble ported the idea to the Go programming language, and in doing so tinkered with the rule, adding a feedback loop so that once one side pulls ahead its advantage accelerates toward a finish rather than oscillating between the two colours. Small remakes like that are a sign of a healthy little idea: simple enough to copy, interesting enough to be worth changing.

The stories people tell themselves

What makes Pixels Fighting stick is not the mathematics but the narrative the viewer cannot help inventing. Watch for a minute and the two colours stop being data and start being teams. A sudden surge reads as a comeback, a shrinking pocket reads as a last stand, and a colour clinging to one corner reads as an underdog refusing to die. The shouldseethis writeup captures this exactly, noting that people begin rooting for one side and inventing stories about its strategies and comebacks.

None of that drama is really there. The pixels have no plan and no memory, only a coin to flip against their neighbours. The suspense lives entirely in the person watching, which is perhaps the most interesting thing the site reveals. Given two colours and a border that moves, the human eye will manufacture a whole war, complete with heroes and momentum, out of nothing but random chance.

Where it sits in the quiet web

Pixels Fighting sits among a small family of sites that hand the browser a simple rule and let it play out. Its nearest cousin is One Million Checkboxes, another vast grid of tiny cells whose state tells an unexpected story, and Sandspiel, where drawn pixels obey physics like sand and fire. Each takes something small and mechanical and lets it become mesmerising through sheer repetition.

Readers who enjoy this kind of pointless-in-the-best-way page can browse the wider roundup of useless websites to visit when bored. The same patient fascination with emergent pattern runs through the Boring Websites network, including Sandpile, which lets a visitor watch grains pile up and avalanche into slow, self-organising shapes. Like Pixels Fighting, it is a site content to run on its own while someone simply watches.

FAQ

What is Pixels Fighting and how do you use it?

Pixels Fighting, at pixelsfighting.com, is a free website that pits two randomly chosen colours against each other on a grid and lets them battle for territory until one colour has taken every cell. There is nothing to use in the usual sense: you simply open the page and watch. It has no controls, no score and no login, and the only way to start a new fight, with two new colours, is to reload the page.

How do the pixels decide which color to become?

Every cell repeatedly looks at its neighbours and makes a weighted random choice, becoming more likely to take whichever colour surrounds it most. The creator explained on Hacker News that it uses a weighted random number with the weight set by the colours of the neighbouring cells, and confirmed it is not Conway's Game of Life. Because the choice is driven by chance rather than a fixed pattern, the border between the two colours churns unpredictably every time.

Why does one color always end up winning?

Neither colour has any advantage, so the contest is decided by random drift. For a while the two sides can look evenly matched, but a system built on chance cannot stay balanced forever. Eventually one colour edges ahead, and once the other colour has vanished from the grid completely there is no rule that can restore it. The result is that every session ends with a single colour filling the whole canvas, though which colour wins, and how long it takes, is different each time.

Who made Pixels Fighting?

The site was created by Jan Tewes Thede, a German developer credited in the page's own source and recorded as the owner of the pixelsfighting.com domain. It is a personal experiment rather than a company product, with a single footer link pointing to another of his browser projects. Because the code is left unminified, anyone can open the page source and read the exact rule that governs the fight.

More boring websites like this: Generative art websites.