Go/Weiqi is a board game originating from ancient China. It is played by two players taking turns to place white and black stones on the intersections of the board. The goal of the game is to surround more territory than the other player.
There are many variations of rules for this game, but this implementation uses Chinese-derived rules. The main points are outlined below and further details can be found here (Wikipedia).
Area scoring. Points are awarded for territories belonging to a player, and for the intersections that the player's stones occupy. Other rules:
- Suicide is forbidden
- No komi
- Positional super kō: a move that would result in a board position that has previously occurred is illegal
End of game
The game ends when the two players pass consecutively.