Thoughtworks Interview Question

Problem Solving Statement - Tic Tac Toe game. (Complete from UI till the logic involving the design pattern)