Class: Players::Human
Instance Attribute Summary
Attributes inherited from Player
Instance Method Summary collapse
Methods inherited from Player
Constructor Details
This class inherits a constructor from Player
Instance Method Details
#move(board) ⇒ Object
4 5 6 7 8 |
# File 'lib/players/human.rb', line 4 def move(board) puts "\nPlayer #{self.token} - Please input a #1-9.".blue input = gets.strip input end |