Last active
December 17, 2015 20:39
-
-
Save mazeltov7/5669380 to your computer and use it in GitHub Desktop.
test
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 'よう来たのう' | |
command = gets.chomp | |
while command != command.upcase | |
puts 'なんじゃて、もっと大きな声で叫んでくれ' | |
command = gets.chomp | |
end | |
puts '元気かいなー?' | |
command2 = gets.chomp | |
while command2 != 'bye' | |
year = rand(20) + 30 | |
puts 'いやー、19' + year.to_s + '年以来ないねー!' | |
command2 = gets.chomp | |
end | |
puts 'え?なんじゃて?' | |
command3 = gets.chomp | |
while command3 != 'bye' | |
puts 'いやー、19' + year.to_s + '年以来ないねー!' | |
command3 = gets.chomp | |
end | |
puts 'ええ?なんじゃて??' | |
command4 = gets.chomp | |
while command4 != 'bye' | |
puts 'いやー、19' + year.to_s + '年以来ないねー!' | |
command4 = gets.chomp | |
end | |
puts 'では、またな' | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment