tic-tac-toe slightly less buggy