http://qs1969.pair.com?node_id=171567


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