https://github.com/docwhat/terminal-life
A Terminal version of Conway's game of life
https://github.com/docwhat/terminal-life
golang
Last synced: 13 days ago
JSON representation
A Terminal version of Conway's game of life
- Host: GitHub
- URL: https://github.com/docwhat/terminal-life
- Owner: docwhat
- Created: 2026-05-21T03:37:06.000Z (about 2 months ago)
- Default Branch: main
- Last Pushed: 2026-05-31T01:13:00.000Z (about 1 month ago)
- Last Synced: 2026-05-31T03:10:32.183Z (about 1 month ago)
- Topics: golang
- Language: Go
- Homepage:
- Size: 51.8 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Agents: AGENTS.md
Awesome Lists containing this project
README
# Game of Life written in Go
> This is Conway's game of life, implemented in Go for the terminal.
## Usage
By default, the grid that'd created matches your terminal window size.
You can use the cursor keys (keyboard arrows) to select a cell. You can use the enter key to toggle the cell's live state.
You can use the space bar to pause the game.
## Life's Rules
1. Any live cell with fewer than two live neighbours dies, as if by underpopulation.
1. Any live cell with two or three live neighbours lives on to the next generation.
1. Any live cell with more than three live neighbours dies, as if by overpopulation.
1. Any dead cell with exactly three live neighbours becomes a live cell, as if by reproduction.
## Development
Use `trunk` (from ) to ensure everything is formatted and linted correctly.
## Notes
This game was implemented via a locally run LLM: Qwen3.6-27B-MLX-8bit