Created
March 17, 2015 21:02
-
-
Save APARK87/36793577c45e2ce89f1c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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." | |
else | |
puts "Nice talking to you #{name}, but i gtg go help my friend find Obi Wan" | |
end | |
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