Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
puts "Hi. I am C3P0, human-cyborg relations."
puts "whats your name?"
name = gets.chomp
puts "it's a pleasure to meet you #{name}, have you ever met a protocal droid before?"
user_answer = gets.chomp
puts "#{user_answer}? How interesting, for someone from around these parts."
puts "Im terribly sorry for prying but you dont happen to go by the alias Obi-Wan do you?"
user_answer2 = gets.chomp
if user_answer2 == "I do" || user_answer2 == "i do" || user_answer2 == "I DO" || user_answer2 == "i Do"
puts "marverlous! Say hello to R2D2 for me; hes been looking all over for you."
puts "Nice talking to you #{name}, but i gtg go help my friend find Obi Wan"
puts "what is your favorite farwell?"
fav_farewell = gets.chomp
puts "#{fav_farewell} to you too."
puts "Well R2, I suppose we'll just have to keep looking."
puts "R2-D2: (Agreeable droid noises)"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.