colfld - fill the board with the same color


Aug 18, 2010: Axel Belinfante sent a patch fixing a wasted move on restart.

Dec 9, 2009: New version from YAMANASHI Takeshi: proper initialization of "selected" + choose colors by clicking on them on the field.

You have 6 colors and a board with squares randomly filled with them. Your goal is to make all board squares the same color within the number of steps alotted. You have the list of colors to choose from at the top left of the screen. Clicking on a particular color changes all adjacent squares of the same color to the new one, starting from top-left.

The trick is to choose colors in such a way as to maximize the size of the field of adjacent squares with identical colors.

Several levels of difficulty are provided under the middle mouse button menu. They all generate the board randomly.

Download: colfld.c
Options: none

Bugs: none :)
Last Modified: August 18, 2010
mirtchovski at gmail