Code covered by the BSD License  

Highlights from
Text Yahtzee

5.0

5.0 | 1 rating Rate this file 4 Downloads (last 30 days) File Size: 5.97 KB File ID: #27891
image thumbnail

Text Yahtzee

by Zachary Danziger

 

13 Jun 2010 (Updated 03 Apr 2013)

Play Yahtzee in the command window, with multiple players per game.

| Watch this File

File Information
Description

Object: Roll dice for scoring combinations and get the highest total score.
This text-based command window Yahtzee game was inspired by a few of the other submissions on this site. This version has the following features:

- High scores list
- Multi-player versus option
- Stable, pleasing and intuitive interface
- Conforms to all official Yahtzee rules (including bonus Yahtzee joker scoring: http://www.hasbro.com/common/instruct/Yahtzee.pdf)
- Short, modular, commented code (usefull for editing and following flow)
- Consice and transparent score allocation logic
- Text-only game mechanics makes it look like you're working

>> ZYahtzee % runs game
>> ZYahtzee(p) % runs game for p players

Enjoy a brief game of Yahtzee!

Acknowledgements

Yahtzee, Yahtzee, and Yahtzee inspired this file.

MATLAB release MATLAB 7.9 (R2009b)
Tags for This File  
Everyone's Tags
game, games
Tags I've Applied
Add New Tags Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (1)
06 Apr 2013 Nicolò  
Updates
02 Aug 2010

- fixed spelling error in game board
- do not accept bad die number inputs (instead of ignoring them)
- added statistics "easter egg"
- added multi-player versus capability
- automatically score final roll

03 Aug 2010

This update fixes the improper scoring for Yahtzees in versus mode.

03 Feb 2011

Added features to bonus stats display - The game will now save scores to appropriate directory (even when not currently in that dir) - there is now no need to include spaces when entering held die numbers for faster play

03 Apr 2013

Fixed high score record recording bug that occurred when the current directory was different from the Yahtzee directory.

Contact us