Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re^5: Adding one last conditional in a random-number guessing game

by hdb (Monsignor)
on Feb 22, 2014 at 13:26 UTC ( [id://1075825]=note: print w/replies, xml ) Need Help??


in reply to Re^4: Adding one last conditional in a random-number guessing game
in thread Adding one last conditional in a random-number guessing game

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

  • Comment on Re^5: Adding one last conditional in a random-number guessing game

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1075825]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others admiring the Monastery: (6)
As of 2024-04-25 13:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found