in reply to Re^4: hangman question
in thread hangman question
but this program seems blithely ignorant of the existence of hashes.... $guess=<STDIN>; chomp $guess; next if $guesses{$guess}++; $right=0; ...
If you feel daring, take a look at the severely undercommented word twist for a more hash-ridden implementation of a word game.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^6: hangman question
by convenientstore (Pilgrim) on Jul 16, 2007 at 03:48 UTC |