Skip to content

Instantly share code, notes, and snippets.

@mazeltov7
Last active December 17, 2015 20:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mazeltov7/5669380 to your computer and use it in GitHub Desktop.
Save mazeltov7/5669380 to your computer and use it in GitHub Desktop.
test
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