calculate score is zero for perfect board