You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
class Player
|
|
# Your code goes here
|
|
end
|
|
|
|
class Game
|
|
# Your code goes here
|
|
end
|
|
|
|
game = Game.new("RPS")
|
|
|
|
players = [
|
|
Player.new("John"),
|
|
Player.new("Lizzy"),
|
|
Player.new("Clair"),
|
|
Player.new("Brad"),
|
|
15
|
|
]
|
|
|
|
players.each { |player| game.add_player(player) }
|