Elyssa Kober's Final Project: Word Guess Game

by Elyssa K


A secret word is randomly selected and displayed as a row of dashes, one for each letter of the secret word, and the user guesses to determine the letters in the secret word. If the guess is correct, the word is displayed with all instances of that letter shown in the correct positions, along with previous correct guesses; however, if the letter is not in the word, the user loses a guess. Game continues until the user has correctly guessed all the letters in the word or the user has made eight incorrect guesses.