https://github.com/phenax/go-gameoflife
Game of life in golang
https://github.com/phenax/go-gameoflife
gameoflife golang
Last synced: about 2 months ago
JSON representation
Game of life in golang
- Host: GitHub
- URL: https://github.com/phenax/go-gameoflife
- Owner: phenax
- License: apache-2.0
- Created: 2017-05-06T11:38:32.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2017-05-06T12:16:01.000Z (about 9 years ago)
- Last Synced: 2025-12-08T19:21:59.998Z (8 months ago)
- Topics: gameoflife, golang
- Language: Go
- Size: 12.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Go-GameOfLife
Conway's game of life implementation in golang
### Instructions
- Run `go get github.com/phenax/go-gameoflife` to install
- Run `go-gameoflife` to see stuff move
### Available lives
- gol.NewEmptyFrame - Creates an empty frame. You can use frame.SetAlive(x, y int) to change cells
- gol.NewBlinkerFrame - Create a blinker life(`|` becomes `---` and back to `|` forever)
- gol.NewGliderFrame - Create a glider life(google it)
- gol.NewSpaceshipFrame - Create a Lightweight spaceship life(google it)(which doesnt look anything like a spaceship btw)
- gol.NewPulsarFrame - Create a pulsar life(google it)(My personal favorite)