Yahtzee

版本 1.5.0.0 (2.6 KB) 作者: Colin
Classic game, normal rules. No special graphics, but a great time waster!
782.0 次下载
更新时间 2010/6/3

查看许可证

I have only limited experience and knowledge of MATLAB, so everything is pretty basic, but it seems to work just fine!

Notes:
* "Dice" to-be-saved must be input either comma- or space-delimited (e.g. if your hand is 43444 and you want to save the 4's, type either 1 3 4 5 or 1,3,4,5 into the command prompt and hit Enter).
* The "all" feature skips to the end of the turn and lets you choose your category
* The sorted feature is a helpful add-on to see if you have a run or a straight.

Please let me know what you think, and I am open to any suggestions and/or bug fixes.

Enjoy!

PS This would be a cool Easter Egg wouldn't it? (hint... hint...)

引用格式

Colin (2024). Yahtzee (https://www.mathworks.com/matlabcentral/fileexchange/27782-yahtzee), MATLAB Central File Exchange. 检索时间: .

MATLAB 版本兼容性
创建方式 R2010a
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Number games 的更多信息
致谢

启发作品: Text Yahtzee

Community Treasure Hunt

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

Start Hunting!
版本 已发布 发行说明
1.5.0.0

Fixed end-of-game dialogue

1.4.0.0

-Added subtotal features
-Fixed Bonus Yahtzee bug

1.1.0.0

Bug fix (selecting an option for 0 points)

1.0.0.0