PROJECT DESCRIPTION: Write a program to simulate the game of hangman. The game will begin by showing the user a welcome screen. When the user enters any character, the first puzzle will be shown. The user will have 7 incorrect guesses before losing that puzzle. After the user completes that round (either by correctly guessing letters until no blanks are left or choosing 7 incorrect guesses), increment either the win count or the lose count. Then ask the user if they wish to continue. If continuing, display another blank puzzle and allow the user to play it again. If the user does not wish to continue, print a table of output displaying the win and loss counts, with appropriate labels. Following this, there should be an option for the user to view the printing of the puzzles used and unused puzzles. Your output should be very clean, neat, clear, and in the order described above. The program must use at least 4 functions.
The puzzles will be randomly selected from a file named "puzzleoptions.txt". The file will contain no more than 20 puzzles. For this project, puzzles will be one per line and may have spaces. The program will load the puzzles into an array of strings (not cstrings). The program will also maintain a corresponding parallel array that holds Boolean values. The Boolean array will store false if a puzzle is unused and true if it has been used. Puzzles should not be used more than once.