The complete specification of assignment #5 can be found as part of the stream at iTunes.
Beef up your Yahtzee to the variant called “Triple Yahtzee.”
In this variant, each player manages three simultaneous scorecard columns, as if they were playing for three players at once. The player can assign a roll to any one of their three columns. All entries are scored normally with respect to categories and validity, but the values in the second column are doubled, and the third column values are tripled. The player’s score consists of the sum of all three columns. This would make for a three- dimensional array (an array of players who have any array of columns which are an array of score entries)—pretty tricky! Game play continues for 3*13 rounds, until all players have filled in all entries in all three columns. The player with the highest total score is the winner
The display needs to additional cols with suiting names to be able to hold the additional scores:
Continue reading “cs106a – Assignment #5 – Extra Task #3”