WOLFRAM|DEMONSTRATIONS PROJECT

Three-Color Territory Puzzle

A board is covered with "polysquare" areas, each painted in one of three colors. The value of a blue polysquare is the square of its land area, hence a pentasquare is worth 25 points.
Yellow tiles have no value. The value of a red tile is the negative value of the corresponding blue tile.
Click a polysquare to own it (which is then marked by black dots). From your second move onward you can only click next to an already-occupied position.
Your task is to create a region of ownership that comprises an area of half the size of the board (50 or less) and at the same time collect as many points as possible.