Basic AI finished (maybe?)