by Hamed Ahmadi ( www.hamedahmadi.com ) The analysis function is a heuristic; in actuality it is very difficult to find a precise value. However, that doesn't stop us from trying! A good analysis function takes into effect many different aspects of the board position, such as the number of pieces, control of the board, control of certain key squares on the board, and also mobility. Mobility indicates how freely each player can move his/her pieces, and how many moves she/he has. Much of the work in writing a game program involves writing a good analysis function. Usually,
Read full article from Hamed's Introduction to Game Algorithms