Even better, I guess

This commit is contained in:
Dan Buch 2012-12-10 00:55:39 -05:00
parent 3ff6e2e999
commit 8ff1125452

View File

@ -284,7 +284,7 @@ func (state *GameState) String() string {
for y := 0; y < height; y++ {
var cells []string
for x := 0; x < width; x++ {
stringVal := "Φ"
stringVal := ""
value, err := state.Get(x, y)
if err != nil {
@ -292,7 +292,7 @@ func (state *GameState) String() string {
}
if value == 1 {
stringVal = "·"
stringVal = ""
}
cells = append(cells, stringVal)
}