1
0
mirror of https://github.com/golang/go synced 2024-11-24 23:07:56 -07:00

doc/play: use []rune insetead of []int.

R=golang-dev
CC=golang-dev
https://golang.org/cl/5823058
This commit is contained in:
Yasuhiro Matsumoto 2012-03-15 19:28:07 +11:00 committed by Andrew Gerrand
parent d528f52d87
commit aec01c3627

View File

@ -14,7 +14,7 @@ const N = 11 + 1 // length of a row (+1 for \n)
// Periods represent illegal fields,
// ● are pegs, and ○ are holes.
var board = []int(
var board = []rune(
`...........
...........
........