next up previous contents index
Next: Fill in the spaces Up: Hangman Previous: Erase Guess   Contents   Index


Add a Body Part?

    sub add_part {
        if (not fill_in_space($_[0])){
            # "fill_in_space" returns true if the letter is in the word.
            # "not fill_in_space" is true if the letter is not in the word.
            $bad_guesses++;
        }
    }



Tom Hunt 2002-06-09