1. 首页
  2. 课程学习
  3. C++/C
  4. 组合数学取子游戏nim

组合数学取子游戏nim

上传者: 2019-01-11 17:22:15上传 DOC文件 18.5KB 热度 23次
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.
用户评论
码姐姐匿名网友 2019-01-11 17:22:15

这个代码真的有点少,有点简单,不过是能用