Yahtzee

I am or I am trying to create a Yahtzee game in c++ and I need help. I have my code to roll 5 dice already but I need help going from there. Here is what this is what need to have. I think I can handle most of it but I need hlep on creating the catagories to keep the dice rolled and rerolling the dice


for round 1 to 13
turn 1: roll 5 dice
let user pick which to keep--store those values in keep array
turn 2: reroll dice not kept (user may choose to keep all dice in previous turn, so there may be none to reroll here)
let user pick which to keep--store those values in keep array
turn 3: reroll dice not kept (user may choose to keep all dice in previous turn, so there may be none to reroll here)
store the rolls of these dice in keep array
loop until user picks good category (one that hasn't been used)
ask user which category to store dice
has this category been used?
Yes--warn user that another must be chosen and continue loop
no--exit loop
ask user how many points roll is worth (Message should say score should be entered as 0 if dice roll does not meet category requirements)
store points for that category--add bonus for multiple Yahtzee if appropriate
end of loop for round.

Continue this for all 13 rounds
Add bonus for top > 63 if appropriate
add bonus for additional yahtzee if appropriate and display final score
Topic archived. No new replies allowed.