The Territory of Go The Territory of Go
English RU

This is the second mission about the Go game. The first one is the Eaten Go Stones.
In this mission you will learn how to count territory in the Go. Pay attention that this mission is simplified compared to the real game rules (the tests are haven't cases where stones of one color is on the territory of the other player).

So what is territory in the Go game? This is all unoccupied points which are surrounded by the complete and solid border of the stones of one color. It can be the form in the center of the board, which uses only own stones for bounds or it also can be form near the edge of the board and use this edge to complete the boundary....
Look at this picture that describes the input data and the 'territory' conception:

You should be an authorized user in order to see the full description and start solving this mission.