Further improved RandomMovingAI by utilizing GlobalRandom class