Conway's game of life in go
.envrc | ||
.gitignore | ||
default.nix | ||
flake.lock | ||
flake.nix | ||
go.mod | ||
go.sum | ||
gomod2nix.toml | ||
LICENSE | ||
main.go | ||
map.txt | ||
README.md | ||
shell.nix |
Conways Game Of Life
This is a very simple implementation of Conway's game of life in golang using the bubbletea library.
The starting grid is generated randomly so any game can last anywhere from 100-800(longest I was able to get) generations/steps before it start to become repetitive.
To play just press space and look at how the life goes.
Planned features
Here are some features I do plan on implementing in the future, if I ever get bored like I got yesterday and today and created this before work.
- Use initial terminal size for grid
- Update automatically without having to use space
- Button to "restart" the game
- Ability to load premade grids from text files