Pregunta de entrevista de Gro Intelligence

Design a class for a tic tac toe game with methods for checking valid moves, checking a winner, making a move, and undo.