Project Description:

Write a C console application implementing a version of the game show "Wheel of Fortune" playable by two or three contestants over three rounds. The core game mechanics and rules are explained in this Wikipedia article.

Simplifications:

It is sufficient to implement the 24 spaces of the wheel containing different $ values, two Bankrupt, one Extra Turn, and one Lose a Turn space. Additional special spaces, such as described in the Wikipedia article, do not need to be implemented! It is also sufficient to only implement the three main game rounds. Special or bonus rounds do not need to be implemented!

In addition, the winnings of all three game rounds are added up for each contestant individually to determine the final winner.

Requirements:

The final program must at least implement the following functionalities:

  • support for two and three player games
  • user input of the three to be guessed words or phrases via standard input before the game starts
    • utilization of dynamic memory allocation to store the words or phrases
  • implementation of chance regarding the wheel turns
  • implementation of Bankrupt, Extra Turn and Lose a Turn spaces according to the rules of the game - score counts for each player according to the rules of the game
  • output of all relevant information on standard output during the course of the game including at least: player names
    • player scores
    • current state of the to be guessed word or phrase with revealed and hidden letters - user input to guess a letter or buy a vowel
  • user input to solve the word or phrase
  • correct and thorough implementation of the rules of the game

Console Output Example

The following listing presents an example how part of the output for the "Wheel of Fortune" game on the console could look like. Each group should present the output in a way they seem fit. The only requirement is the inclusion of all relevant information in the output as stated in the project description. see image.

Academic Honesty!
It is not our intention to break the school's academic policy. Posted solutions are meant to be used as a reference and should not be submitted as is. We are not held liable for any misuse of the solutions. Please see the frequently asked questions page for further questions and inquiries.
Kindly complete the form. Please provide a valid email address and we will get back to you within 24 hours. Payment is through PayPal, Buy me a Coffee or Cryptocurrency. We are a nonprofit organization however we need funds to keep this organization operating and to be able to complete our research and development projects.