in reply to Mastermind Game
Nice, clean, and fun. How about a "quit" command?
# ... print "\nGuess (Q to quit): "; chomp($inp = <>); last if $inp =~ /^[qQ]/; # ...
Just a thought ...
"All you need is ignorance and confidence; then success is sure."-- Mark Twain
In Section
Craft