Skip to content

Instantly share code, notes, and snippets.

@aguayma
Created January 14, 2015 23:08
Show Gist options
  • Save aguayma/efea4fb4011b327408a2 to your computer and use it in GitHub Desktop.
Save aguayma/efea4fb4011b327408a2 to your computer and use it in GitHub Desktop.
Leisure Suit Larry
puts "Hey Larry! That's your name right?"
you_Larry = gets.chomp
if "Yes".downcase
puts "I knew you were!! I would recognize that cheap suit anywhere"
else
puts "Listen here you dirty ba&^$^. You're Larry and theres nothing you can do about it!!"
end
puts <<END
"Hey..remember how wild we used to be? Well word on the street is theres
a sorority party going on tonight! But we have to be real flashy.
What year is your car again?"
END
case gets.chomp
when '2015','2014','2013'
puts "Delicious we are rolling in style!"
puts "Got any spare suits?"
suits = gets.chomp
if "Yes".downcase
puts "Sweet can I borrow one?"
else
puts "Damn it man! You gotta get your act together"
end
when '2012','2011','2010'
puts "Ok we can manage with that."
puts "At least its running...right?"
case gets.chomp
when "Yes".downcase
puts "Thank god!"
else
puts "You're killing me Larry!"
end
else
puts "Jesus man!! That rust bucket!"
puts "You have really let yourself go man. What happened to you? Type the number 1: Married, 2: Divorced, 3: Monk"
happened = gets.chomp
case gets.chomp
when "1"
puts "May god save your soul"
when "2"
puts "You luck dog"
when "3"
puts "You swore off women, partying and booze?!?!"
else
puts "It's almost like I don't even know you"
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment