Syntactic Confectionery Delight | |
PerlMonks |
Re^5: Adding one last conditional in a random-number guessing gameby hdb (Monsignor) |
on Feb 22, 2014 at 13:26 UTC ( [id://1075825]=note: print w/replies, xml ) | Need Help?? |
As you can only have 10 games, create an array with the numbers 1 to 10, shuffle it, see List::Util, and then pop the numbers to be guessed
In Section
Seekers of Perl Wisdom
|
|