组合数学取子游戏nim
Nim is a 2-player game featuring several piles of stones. Players alternate turns, and on his/her turn, a player’s move consists of removing one or more stones from any single pile. Play ends when all the stones have been removed, at which point the last player to have moved is declared the winner.
用户评论
这个代码真的有点少,有点简单,不过是能用