AudienceScience interview question

Phone screen coding challenge: Write an API for a game of Tic-Tac-Toe