Hey im just making a game called yahtzee if anyone knows it for school and im having trouble with one part.
Let me explain the way the teacher wants the game to work. The are thirteen possible scores that the user can choose from after the dice roll randomly, then then next time the user can choose from the list of possible scoring systems again minus the one they already chose, all the way untill all thirteen scores are gone then the game prints the final score.
I was thinking of initalising the thirteen scoring outputs or something so anyway talked to much here is a segment of my code:
cout<<"\nPlease chose your scoreing system - remember you may only choose each one once: "<<endl;
cout<<"\n1. Ones - Adds all the ones to your score"<<endl;
cout<<"2. Twos - Adds all the twos to your score"<<endl;
cout<<"3. Threes - Adds all the threes to your score"<<endl;
cout<<"4. Fours - Adds all the fours to your score"<<endl;
cout<<"5. Fives - Adds all the fives to your score"<<endl;
cout<<"6. Sixs - Adds all the sixs to your score"<<endl;
cout<<" "<<endl;
cin>>userchoice;
so after user inputs i can compare and all just need to remove output from appearing next loop.
any help will be appreciated