My project is the WordGuess game: the computer selects a secret word at random from a file and the program then prints out a row of dashes—one for each letter in the secret word and asks the user to guess a letter. If the user guesses a letter that is in the word, the word is redisplayed with all instances of that letter shown in the correct positions, along with any letters correctly guessed on previous turns, but if the letter does not appear in the word, the user is charged with an incorrect guess. The user keeps guessing letters until either (1) the user has correctly guessed all the letters in the word or (2) the user has made eight incorrect guesses. If the user runs out of guesses a stick figure is animated and displayed part by part emulating the game "Hangman".
Website designed by Ali Malik. Logo by Sayaka Funata.