AI engine for Real-Time strategy games