Tic Tac Toe of forests and factories