Created
July 5, 2020 10:53
-
-
Save tkm-kj/1e1f2332c849c7515a33dcdf216734b2 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
p1_name = gets.to_s.chomp | |
p2_name = gets.to_s.chomp | |
p1 = Player.new(p1_name) | |
p2 = Player.new(p2_name) | |
puts Game.new(p1, p2).start |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment