Fibonacci Nim

版本 1.0.0.0 (5.5 KB) 作者: Krishna Lalith
Player to play last move wins the Game.
385.0 次下载
更新时间 2011/1/5

查看许可证

Description of Game:
Objective: Player to play last move wins the Game.
A pile of balls(N) is placed between two players (UUU & CPU).
Step 1: For the first move, one can remove "p" balls such that N > p >1.
Step 2: For the subsequent moves, one can remove "q" balls such that q <= 2p.
Note 1: An alternative turn basis is adopted throughout the game.
Note 2:Always the user need to make a move to remove balls.

引用格式

Krishna Lalith (2024). Fibonacci Nim (https://www.mathworks.com/matlabcentral/fileexchange/29921-fibonacci-nim), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R2008b
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Strategy & Logic 的更多信息
标签 添加标签

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
版本 已发布 发行说明
1.0.0.0