标签:
8.8 Othello is played as follows: Each Othello piece is white on one side and black on the other. When a piece is surrounded by its opponents on both the left and right sides, or both the top and bottom, it is said to be captured and its color is flipped. On your turn, you must capture at least one of your opponent‘s pieces. The game ends when either user has no more valid moves. The win is assigned to the person with the most pieces. Implement the object-oriented design for Othello.
[LeetCode] 8.8 Othello Game 黑白棋游戏
标签:
原文地址:http://www.cnblogs.com/grandyang/p/4804629.html