NIM game

Version 1.1.0.0 (3.56 KB) by Apoio
A GUI implementation of the NIM Game
507 Downloads
Updated 21 May 2012

View License

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.

Cite As

Apoio (2024). NIM game (https://www.mathworks.com/matlabcentral/fileexchange/36746-nim-game), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2010b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Number games in Help Center and MATLAB Answers

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.1.0.0

corrected a bug

1.0.0.0