Newer
Older
Ruby / hello.rb
@SATO Yamato SATO Yamato on 28 Sep 2023 189 bytes 2023-09-28 17:15:52
 #!/usr/bin/env ruby
# -*- coding: utf-8 -*-

def janken()
  te = ["グー","チョキ", "パー"]
  te[rand(te.length)]
end

puts"ジャーンケーン"
sleep(1)
printf("%s!\n" , janken)