Question: Write a Hangman game using Visual Studio. The following specifications must be met: Gameplay The player starts a new game and is presented with a

Write a Hangman game using Visual Studio. The following specifications must be met:
Gameplay
The player starts a new game and is presented with a word to be guessed.
Through key presses, guesses can be made as to which letters are contained in
the word.
Once all letters have been guessed, the player has won the game.
The player can make ten wrong guesses before the game is over.
The player's score is entered into a scoreboard.
A new game can be started or a quit command can be issued.
Programming
Commands to start a new game or quit the program must be represented by
command buttons on the main form.
A list of words to be used in the game must be stored internally in an array.
0 The word which is to be guessed in each game must be chosen randomly and then
displayed using an underscore (_) or an asterisk (*) to represent each letter. The
number of characters must equal the length of the word.
Guesses must be processed through the KeyPress event of the main form.
Correct guesses are stored in a list structure, and then revealed in the word,
replacing the special characters used to conceal the word.
Incorrect guesses are stored in a list structure and then displayed along with other
incorrect guesses.
The scoreboard is displayed in a ListBox on the main form, and contains the
best number of guesses taken for each word that was attempted. These scores are
stored in a list structure.
Collection objects that must be used are ArrayIList and sortedList.
Write the code in C# and show all the coding in details.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!