Separate formatted moves with comma
This commit is contained in:
parent
b8da222135
commit
d7cada8f2f
1 changed files with 1 additions and 1 deletions
2
game.go
2
game.go
|
@ -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]))))
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue