Answered step by step
Verified Expert Solution
Question
1 Approved Answer
must be in C# L4.7-The Palindrome Dice Game The Palindrome Dice game is a number game which is played by a single players The Game
must be in C#
L4.7-The Palindrome Dice Game The Palindrome Dice game is a number game which is played by a single players The Game is played with three dices, which are tossed simultaneously and used to form a three digit number. For example, if the three dice retum 4, 6, 4 respectively, the three digit number form is 464 The formed three digit number is then check to see if it is a palindrome number, if it is then the player earns a score of 10. The player is then prompted to double that score. If they decide to double the score, then the three dice is cast again, and a three digit number like the one mentioned above is formed. If the three digit number is a palindrome the players score of 10 is double, otherwise the player loses that score. The game console is deared and a play statistics like the one below is displayed BRRRRRrGame Statistics BEBE Number of Palindromes: 20 Number of Throws: 100 Game Score: 170 The game ends when the number of times you've tossed the three dice reaches a 100. You will win the game if your score is greater than the number of throws, otherwise you lose. After the game is complete the play statistics is displayed and a message indicating a win or lose is played, see example below: **** **Game Statistics Number of Palindromes: 20 Number of Throws: 100 Game Score: 170 You WON the game! Additional Information A palindromic number (also known as a numeral palindrome or a numeric palindrome) is a number (such as 121) that remains the same when its digits are reversed. In other words, it has reflectional symmetry across a vertical axis. See the flowchart below for reversing a number Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started