Productboard interview question

Program a tic-tac-toe game.