Player and Computer take turns removing chips. Each can take as many chips as wanted, from one pile only. Wins the player who takes the last chip on the board. Playing reverse, last chip taker looses. Clicking one chip removes it and the ones above it. The cheat button makes the best move for you.
引用格式
Apoio (2024). NIM game (https://www.mathworks.com/matlabcentral/fileexchange/36746-nim-game), MATLAB Central File Exchange. 检索时间: .
MATLAB 版本兼容性
创建方式
R2010b
兼容任何版本
平台兼容性
Windows macOS Linux标签
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!