Skip to content

Instantly share code, notes, and snippets.

@karlbright
Created May 15, 2012 08:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save karlbright/2699954 to your computer and use it in GitHub Desktop.
Save karlbright/2699954 to your computer and use it in GitHub Desktop.
class Diablo3
def self.pick_my_class(option1,option2)
options = []
18.times do
options.push(option1)
options.push(option2)
end
options.push('QUIT LIFE')
options.shuffle!
# puts options.sample
puts "The servers are busy at thie time. Please try again later. (Error 37)"
end
end
Diablo3.pick_my_class('monk','witch doctor')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment