I have to questions about the chess game: please help me to understand it.
1- How can a computer program know if this move or that move is better? It calculates all possbile continuation and examine? But if it does, how did it knows waht is the best continuation?
2- What is the estimate of the possible best continuatuons after every move? Is there a pattern, a sequence for it?
For the first question, there is a nice article by John Geanakoplos that discusses various heuristics used by chess computers:
When Seeing Further is Not Seeing Better (with L. Gray), (1991), Bulletin of the Santa Fe Institute, 6(2): 1-6.
Naturally, the paper is probably not giving you the state of the art though.