Implementation of the 'Ultimate tic-tac-toe' game.