 The algorithm that evaluates leaves is termed the "evaluation function", and these algorithms are often vastly different between different chess programs.Evaluation functions typically evaluate positions in hundredths of a pawn (called a centipawn), and consider material value along with other factors affecting the strength of each side.When counting up the material for each side, typical values for pieces are 1 point for a pawn, 3 points for a knight or bishop, 5 points for a rook, and 9 points for a queen.