completed save rect to RLE file feature

This commit is contained in:
2024-05-26 20:26:13 +02:00
parent cb3e8b3c4c
commit 4b38bea5db
7 changed files with 160 additions and 5 deletions

13
main.go
View File

@@ -16,6 +16,19 @@ func main() {
os.Exit(0)
}
// grid := [][]int64{
// {0, 1, 1},
// {0, 1, 0},
// {1, 1, 0},
// }
// err := rle.StoreGridToRLE(grid, "test.rle", "B3/S23", 3, 3)
// if err != nil {
// panic(err)
// }
// os.Exit(0)
game := NewGame(config, Play)
// main loop