test-driven tic-tac-toe in Ruby