Please help me write this one person yahtzee game, the bold is what the player e
ID: 3533817 • Letter: P
Question
Please help me write this one person yahtzee game, the bold is what the player enters, and the non-bold is what is displayed on console window for part A, please use good comments to help me identify what the codes are for. Player's names are stored in files:
Welcome to Yahtzee!
Please enter your name:
(If user hits enter:)
Welcome to Yahtzee!
Please enter your name:
Tim
Press 1 to roll the dice, press 2 to quit.
3
Invalid choice. Press 1 to roll the dice, press 2 to quit.
1
|1||2||2||2||4|
choose a category:
Explanation / Answer
Two Sample codes I am attatching here.
1. #include <cstdlib>
Related Questions
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.