Class: VikingRoom7::Human
Instance Attribute Summary
Attributes inherited from Player
Instance Method Summary collapse
Methods inherited from Player
Constructor Details
This class inherits a constructor from VikingRoom7::Player
Instance Method Details
#get_hand ⇒ Object
4 5 6 7 8 |
# File 'lib/viking_room7/human.rb', line 4 def get_hand puts "What do you want to play?(Use 'R' for Rock, 'P' for Paper, and 'S' for Scissors" hand = gets.chomp.downcase @hand = hand end |