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.
Citar como
Apoio (2024). NIM game (https://www.mathworks.com/matlabcentral/fileexchange/36746-nim-game), MATLAB Central File Exchange. Recuperado .
Compatibilidad con la versión de MATLAB
Se creó con
R2010b
Compatible con cualquier versión
Compatibilidad con las plataformas
Windows macOS LinuxCategorías
- Gaming > Number games >
Más información sobre Number games en Help Center y MATLAB Answers.
Etiquetas
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Descubra Live Editor
Cree scripts con código, salida y texto formateado en un documento ejecutable.