Further improvements to tic-tac-toe game