The aim is to write an AI for Ultimate Tic Tac Toe. We will approach the problem by first solving the problem for a classical Tic Tac Toe, and then abstract the concept to an Ultimate Tic Tac Toe grid.