Yahtzee
To play, simply type <yahtzee> at the command prompt and press the <START> button to begin. You can discard unwanted dice by clicking on them; white dice are held, red dice are discarded. You can roll a maximum of 3 times before you must click the mouse in a score box to register a score. Clicking resets the die and readies you for your next roll; the game is over when all scoring boxes are filled. The object, of course, is to maximize your score without hacking my code. Have fun!
Zitieren als
Brett Shoelson (2024). Yahtzee (https://www.mathworks.com/matlabcentral/fileexchange/5499-yahtzee), MATLAB Central File Exchange. Abgerufen .
Kompatibilität der MATLAB-Version
Plattform-Kompatibilität
Windows macOS LinuxTags
Quellenangaben
Inspiriert: Text Yahtzee
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Live Editor erkunden
Erstellen Sie Skripte mit Code, Ausgabe und formatiertem Text in einem einzigen ausführbaren Dokument.
Version | Veröffentlicht | Versionshinweise | |
---|---|---|---|
1.0.0.0 |