Even better, I guess
This commit is contained in:
parent
3ff6e2e999
commit
8ff1125452
@ -284,7 +284,7 @@ func (state *GameState) String() string {
|
|||||||
for y := 0; y < height; y++ {
|
for y := 0; y < height; y++ {
|
||||||
var cells []string
|
var cells []string
|
||||||
for x := 0; x < width; x++ {
|
for x := 0; x < width; x++ {
|
||||||
stringVal := "Φ"
|
stringVal := "■"
|
||||||
|
|
||||||
value, err := state.Get(x, y)
|
value, err := state.Get(x, y)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
@ -292,7 +292,7 @@ func (state *GameState) String() string {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if value == 1 {
|
if value == 1 {
|
||||||
stringVal = "·"
|
stringVal = "□"
|
||||||
}
|
}
|
||||||
cells = append(cells, stringVal)
|
cells = append(cells, stringVal)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user