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.
Cita come
Apoio (2025). NIM game (https://www.mathworks.com/matlabcentral/fileexchange/36746-nim-game), MATLAB Central File Exchange. Recuperato .
Compatibilità della release di MATLAB
Creato con
R2010b
Compatibile con qualsiasi release
Compatibilità della piattaforma
Windows macOS LinuxTag
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Scopri Live Editor
Crea script con codice, output e testo formattato in un unico documento eseguibile.