Basic AI implementation