Primer on goal-seeking behaviour?

Does anyone know of a decent primer, very introductory, on simulating goal seeking behaviour in software? I’m thinking of chess, checkers, things like that. If there is something on-line, that would be even better. (Yes, it’s because I’m cheap!) :smiley:

TIA

Testy

What do you mean by: “Goal seeking?” Winning? Try a web search for “Winning Chess” or “Winning Checkers” etc.