mirror of
https://gitlab1.ptb.de/waltem01/Matrix
synced 2024-12-26 03:51:45 +00:00
bugfix: working 'alive' character
This commit is contained in:
parent
511a837495
commit
287c65c28e
2
main.go
2
main.go
@ -12,7 +12,7 @@ func output(_ *resty.Client, _ string, width, height int, arr [][]Cell) {
|
|||||||
for i := 0; i < width; i++ {
|
for i := 0; i < width; i++ {
|
||||||
for j := 0; j < height; j++ {
|
for j := 0; j < height; j++ {
|
||||||
if arr[i][j].live {
|
if arr[i][j].live {
|
||||||
fmt.Printf("█")
|
fmt.Printf("*")
|
||||||
} else {
|
} else {
|
||||||
fmt.Printf(" ")
|
fmt.Printf(" ")
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user