An open source and nicely commented LodeRunner type of game courtesy of Chaos.

http://www.clickteam.com/eng/resources/open_source/Loderunner.zip

There is even some interesting AI techniques on frame number 3 which may give you some good ideas on how to implement your own AI in your games.