Pergunta de entrevista da empresa MongoDB

How would you make a tic tac toe game with a “smart” computer?