源代码及class文件
代码说明:
游戏的过程应该是一部分棋子“主动”去翻转,另一部分可以通过其周围的棋子来“被动”翻转。而每一个棋子的状态逻辑值根据引言可知只有翻转和不翻转两种状态(不必考虑多次翻转的情况),因此可以用0和1来表示。一次翻转操作相当于五个相关单元的逻辑值取反。(The process of the game should be one part of the chess pieces "active" to flip, and the other part can be "passive" to flip through the chess pieces around them. According to the introduction, the logical value of the state of each chess piece can be expressed as 0 and 1, because there are only two states: flip and non-flip (without considering the situation of multiple flips). A flip operation is equivalent to the logical value reversal of five related units.)
下载说明:请别用迅雷下载,失败请重下,重下不扣分!