func ScoreStr(positions string) (string, string) {
	whiteCap, blackCap := getCaptured(positions)
	whiteAdv, blackAdv := diffPieces(whiteCap, blackCap)
	whiteScore := scorePieces(whiteAdv)
	blackScore := scorePieces(blackAdv)
	whiteDiff := whiteScore - blackScore
	blackDiff := blackScore - whiteScore
	whiteStr := ""
	blackStr := ""

	if whiteDiff > 0 {
		whiteStr = fmt.Sprintf("+%v", whiteDiff)
	}

	if blackDiff > 0 {
		blackStr = fmt.Sprintf("+%v", blackDiff)
	}
	return whiteStr, blackStr
}
// ScoreStr returns a formatted score string
ScoreStr returns a formatted score string
// ScoreStr returns a formatted score string
func ScoreStr(positions string) (string, string) {
	whiteCap, blackCap := getCaptured(positions)
	whiteAdv, blackAdv := diffPieces(whiteCap, blackCap)
	whiteScore := scorePieces(whiteAdv)
	blackScore := scorePieces(blackAdv)
	whiteDiff := whiteScore - blackScore
	blackDiff := blackScore - whiteScore
	whiteStr := ""
	blackStr := ""
	if whiteDiff > 0 {
		whiteStr = fmt.Sprintf("+%v", whiteDiff)
	}
	if blackDiff > 0 {
		blackStr = fmt.Sprintf("+%v", blackDiff)
	}
	return whiteStr, blackStr
}
func ScoreStr ( positions string ) ( string , string ) { whiteCap , blackCap := getCaptured ( positions ) whiteAdv , blackAdv := diffPieces ( whiteCap , blackCap ) whiteScore := scorePieces ( whiteAdv ) blackScore := scorePieces ( blackAdv ) whiteDiff := whiteScore - blackScore blackDiff := blackScore - whiteScore whiteStr := " " blackStr := " " if whiteDiff > 0 { whiteStr = fmt . Sprintf ( " " , whiteDiff ) } if blackDiff > 0 { blackStr = fmt . Sprintf ( " " , blackDiff ) } return whiteStr , blackStr }
ScoreStr returns a formatted score string
ScoreStr returns a formatted score string