Flood the board
Flood the whole board with one colour from the top-left corner. A move is a colour: your area is repainted and takes the neighbouring cells of that colour.
Flood the whole board with one colour from the top-left corner. A move is a colour: your area is repainted and takes the neighbouring cells of that colour.