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