Making the best tic-tac-toe ever