hy does anyone know a good page or tutorial for programming a KI ... CPU intelligence??

for a RPG-Game!!

Expl:
one picture has to find another without collide with "walls" .. i.e. buttons??


plz help