Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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?

share|cite|improve this question
Some more research effort would have been nice. – Epictetus Dec 13 '12 at 10:27
The Chess programming wiki may help you. For example the Alpha-Beta algorithm. Some level are examined only. Every position has a value (with ponderations for the different pieces). – Raymond Manzoni Dec 13 '12 at 10:28 has some discussion of your first question. – m_t_ Dec 13 '12 at 10:39

For question 1 The basics of computer player chess is it has value (coin weightage point) for each chess items and in the same way it has value(move weightage point) for each possible move for on chess item. With this it will decide which the best move is. For example if the opponent’s queen and pan are possible to cut-down in your next move the program suggest to cut-down the queen (coin weightage point for queen is higher than pan)

For question 2 It is not such simple to explain! Need deep knowledge about subject and programming concepts (follow some google links!).

share|cite|improve this answer

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.

share|cite|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.