Answered step by step
Verified Expert Solution
Question
1 Approved Answer
You will implement the program for playing a modified Wheel of Fortune. The game must allow a user to enter the number of rounds to
You will implement the program for playing a modified Wheel of Fortune. The game must allow a user to enter the number of rounds to play and a new secret message (possibly containing blanks) with each round, and print the number of dashes/slots for the message (spaces do not get dashes, just the space) The game can play with 1-3 players, and it continues a round, until someone solves the puzzle correctly. A new puzzle is given with each round. In this Wheel of Fortune, you won't win as much or any prizes, but you might go bankrupt or lose a turn!!! Your random numbers are only from 0-21, with 0 being bankrupt, 1-20 being the dollar amount earned per letter found in the puzzle, and 21 is lose a turn. The game begins by asking the first player if he/she wants to spin the wheel, buy a vowel, or solve the puzzle. On a player's first turn, it might not make sense to choose anything other than spinning the wheel, but a player is given these three choices at all times during their turn, until they guess an incorrect non-vowel letter, incorrectly solve the puzzle, or spin a 0 or 21 If the player chooses to spin and the spin is >0 and = $10, which is the one-time amount paid for each vowel guess, regardless of whether the vowel is found The player who has the most money after N rounds is the winner
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