Color Flood

Quick guide: Click on the lines to align them all, trying to get the colors properly matched. Colors start from the sources (larger circles) and flood all available routes, trying to enter the sinks (smaller circles). Colors are mixed according to the RGB (Red, Green, Blue) model.
Difficulty Size Sources Empty tiles % Wrap








Game status: Not started.
Sorry, your browser doesn't seem to support the <CANVAS> element.

Somewhat longer guide:
The object of the game is to organize the mixed-up path so that all colors flow properly from the sources to the sinks. The sinks are colored with the color they should receive, and will display a hole when no color is flowing into them, or a darker ring when the color is not the right one. Since the colors darken as they get further from the sources, it is sometimes necessary to make a longer route to get the shade of the color exactly correct. Combining the colors is done using the RGB model. (If you're not familiar with it, just play with the game a while, it's not too hard to get the hang of it.) Note that there is some space between the tiles where clicking won't do anything; this is to make sure you don't click on the wrong tile in normal or hard difficulties. Clicking the middle mouse button on a sink will tell the (smallest) distance it is to a source of each color. Pressing the "I" key will give some information about the tile distribution.
The basic settings should make for easy games, but you can make things harder for yourself by using the options displayed above the play area:

Known issues:
Mainly to do with exact display of colors. The fact that pure green seems a lot brighter to the human eye than pure blue would require some correction, but properly balancing this with the darkening by distance from source, and combining different values of color components is difficult. Additionally, you need to consider that colors display differently on different monitors, and that surrounding lighting changes the way they are perceived. Some options for how colors are displayed may be added later.
Small boards with the current layout algorithm can sometimes be empty, trivial or not really follow the rules that the layout tries to use. Different layout algorithms are easy to add, but more difficult to create.

Color Flood was created by Otto Martin as a refinement of the games Zen Loops and Colourshift. It is under the Creative Commons Attribution-ShareAlike (CC BY-SA) license.
Thanks to Sampo, Codez, Daemou, MV, KoneV, ozie and Diamondshade for ideas, advice and testing.
There's also a page of commentary, design decisions, and future ideas.
This is game version 0.0.

Debug output:


Also, pressing "O" while the canvas is active will give some kind of output. "Q" will end the game, but shouldn't really be needed, since you can just restart the game whenever.