Module: RestartAsSecond

Defined in:
lib/ttt/interface/limelight/players/restart_as_second.rb

Instance Method Summary collapse

Instance Method Details

#mouse_clicked(event) ⇒ Object



2
3
4
5
# File 'lib/ttt/interface/limelight/players/restart_as_second.rb', line 2

def mouse_clicked(event)
  Square.reset
  Square.computer_takes_turn
end