tic-tac-toe CLI in Ruby