The Take Away Game
Version 1.0.0.0 (10.9 KB) by
Chris Riederer
Players take turns taking as many marbles as they want from 3 piles. The player who gets the last m
683 Downloads
Updated
1 Aug 2005
No License
There are three piles of marbles. You take against the computer. You may take away as many marbles as you want from one pile each turn. Whoever gets the last marble wins. The rules are very simple, but there are many interesting underlying mathematical patterns. See if you can figure these out and try to win a game or two.
Cite As
Chris Riederer (2024). The Take Away Game (https://www.mathworks.com/matlabcentral/fileexchange/8172-the-take-away-game), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R13SP1
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
Find more on Strategy & Logic in Help Center and MATLAB Answers
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 |