Pergunta de entrevista da empresa Favor

Design a game of tic tac toe however you prefer (with code or with pseudocode).