Product

On the board below, two players (White and Black) alternate placing white and black stones according to the following rules.

Black starts by placing a piece (of any color) on a free square on the board on his first move.

Then, on each turn, the player whose turn it is places two pieces of any color on two empty spaces on the board.

When the board is completely filled, the number of pieces in each player's two largest groups is calculated. The player with the largest product wins. In the case of equal products, the player with the fewest pieces on the board wins.

Notes:

A group is a set of pieces of the same color connected together.

If a player ends up with a single group he gets zero for the above mentioned product.

For example, if the two largest black groups, when the game ends, have 8 and 5 pieces, Black's final score is 8×5 = 40 points. If in that same game White has 10 and 3 pieces in his two largest groups, his final score will be 10×3 = 30 points and he will have lost the game.