Agent code for Meta Squares game