"How to finish a game
The game is finished if one of the following conditions in fulfilled:
One of the players moved all his/her pieces to the opponent's yard. This player wins the game.
One of the players still has some own pieces at his/her yard and made more than 30 (for 8x8 version) or 50 (for 10x10 version) moves. This player loses the game. The player also loses the game if he/she moves one of his/her pieces back to own yard after the 30th (50th) move. This rule prevents the players to block own yard and avoid the opponent to move his/her pieces there."