A game for playing tic-tac-toe on an n x n grid against the computer