Separate formatted moves with comma

This commit is contained in:
Trevor Slocum 2024-10-30 10:51:13 -07:00
parent b8da222135
commit d7cada8f2f

View file

@ -1004,7 +1004,7 @@ func FormatMoves(moves [][]int8) []byte {
var out bytes.Buffer
for i := range moves {
if i != 0 {
out.WriteByte(' ')
out.Write([]byte(", "))
}
out.Write([]byte(fmt.Sprintf("%s/%s", FormatSpace(moves[i][0]), FormatSpace(moves[i][1]))))
}