Fibonacci Nim

Player to play last move wins the Game.
ダウンロード: 385
更新 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 Center および MATLAB AnswersStrategy & Logic についてさらに検索
タグ タグを追加

Community Treasure Hunt

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

Start Hunting!
バージョン 公開済み リリース ノート
1.0.0.0