mirror of https://github.com/golang/go.git
doc/play: use []rune insetead of []int.
R=golang-dev CC=golang-dev https://golang.org/cl/5823058
This commit is contained in:
parent
d528f52d87
commit
aec01c3627
|
|
@ -14,7 +14,7 @@ const N = 11 + 1 // length of a row (+1 for \n)
|
||||||
// Periods represent illegal fields,
|
// Periods represent illegal fields,
|
||||||
// ● are pegs, and ○ are holes.
|
// ● are pegs, and ○ are holes.
|
||||||
|
|
||||||
var board = []int(
|
var board = []rune(
|
||||||
`...........
|
`...........
|
||||||
...........
|
...........
|
||||||
....●●●....
|
....●●●....
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue