Refactor2 tic_tac_toe.rb