func Advantages(positions string) (string, string) {
	whiteCap, blackCap := getCaptured(positions)
	whiteAdv, blackAdv := diffPieces(whiteCap, blackCap)
	whiteRes := ""
	for _, c := range whiteAdv {
		whiteRes += getPiece(string(c))
	}
	blackRes := ""
	for _, c := range blackAdv {
		blackRes += getPiece(string(c))
	}
	return whiteRes, blackRes
}
// Advantages returns the white/black advantage strings
Advantages returns the white/black advantage strings
// Advantages returns the white / black advantage strings
func Advantages(positions string) (string, string) {
	whiteCap, blackCap := getCaptured(positions)
	whiteAdv, blackAdv := diffPieces(whiteCap, blackCap)
	whiteRes := ""
	for _, c := range whiteAdv {
		whiteRes += getPiece(string(c))
	}
	blackRes := ""
	for _, c := range blackAdv {
		blackRes += getPiece(string(c))
	}
	return whiteRes, blackRes
}
func Advantages ( positions string ) ( string , string ) { whiteCap , blackCap := getCaptured ( positions ) whiteAdv , blackAdv := diffPieces ( whiteCap , blackCap ) whiteRes := " " for _ , c := range whiteAdv { whiteRes += getPiece ( string ( c ) ) } blackRes := " " for _ , c := range blackAdv { blackRes += getPiece ( string ( c ) ) } return whiteRes , blackRes }
Advantages returns the white/black advantage strings
Advantages returns the white / black advantage strings