A repository of steering behaviours that will help you create autonomously moving game characters. Behaviours include alignment, avoidance, cohesion, pursue, flee, path following, hiding, separation, wall avoidance, and wandering.
See this link for more information on the topic of steering behaviours.