Made AI max depth configurable for player