Updated tic-tac-toe