IllusionSlayer KnowledgeVault Owner
Posts : 900 Join date : 2009-07-09 Age : 29 Location : Look behind you.
| Subject: Incredible ammount of failure code. Mon Aug 17, 2009 9:17 pm | |
| It works but it has WAAAAYYYYY to many lines of code. - Code:
-
x = 1 puts " Enter your age: " x = gets.chomp sleep 1 case x when "18" puts "You are alive and cannot do any of the following:" puts " *Smoke" puts " *Become President" sleep 5 $end when "19" puts "You are alive and cannot do any of the following:" puts " *Drink" puts " *Become President" sleep 5 $end when "20" puts "You are alive and cannot do any of the following:" puts " *Drink" puts " *Become President" sleep 5 $end when "16" then puts "If you a pregnant you can get married in georgia." sleep 5 $end when "21" then puts " You can drink,drive, and get married. Not in that order though." sleep 5 $end
when "22" then puts " You can drink,drive, and get married. Not in that order though." sleep 5 $end
when "23" then puts " You can drink,drive, and get married. Not in that order though." sleep 5 $end
when "24" then puts " You can drink,drive, and get married. Not in that order though." sleep 5 $end
when "25" then puts " You can drink,drive, and get married. Not in that order though." sleep 5 $end
when "26" then puts " You can drink,drive, and get married. Not in that order though." sleep 5 $end
when "27" then puts " You can drink,drive, and get married. Not in that order though." sleep 5 $end
when "28" then puts " You can drink,drive, and get married. Not in that order though." sleep 5 $end
when "29" then puts " You can drink,drive, and get married. Not in that order though." sleep 5 $end
when "30" then puts " You can drink,drive, and get married. Not in that order though." sleep 5 $end
when "31" then puts " You can drink,drive, and get married. Not in that order though." sleep 5 $end
when "32" then puts " You can drink,drive, and get married. Not in that order though." sleep 5 $end
when "33" then puts " You can drink,drive, and get married. Not in that order though." sleep 5 $end
when "34" then puts " You can drink,drive, and get married. Not in that order though." sleep 5 $end
when "35" then puts "You can run for president now." sleep 5 $end else puts "You can do everything!" sleep 5 end sleep 5 | |
|