Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

i need a c file of this question. This version of the game will have the following requirements: Create a menu for the user to

i need a c file of this question. image text in transcribed
This version of the game will have the following requirements: Create a menu for the user to choose from, similar to the following: 1. Play a game 2. Display statistics 3. Quit The following actions should take place based on the menu. If the user chooses: 1. Play the game: Ask for the player's (user's) name and store it. The computer randomly. chooses a secret word from 10 words available and stored in a 2D array of characters. Assume 30 characters as a fixed maximum length of each word. Display underscores to the player depending on the number of letters the chosen word has. Say the word chosen was mystery. You need to display 7 underscores: - Ask the player to guess a letter. Check if the letter is included in the secret word and display. Ex. if the user chooses y, then you should display_y y. The player has 10 tries to correctly find the word. Moreover, you need to change the player's score depending on the following criteria

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Pro SQL Server Administration

Authors: Peter Carter

1st Edition

1484207106, 9781484207109

More Books

Students also viewed these Databases questions