https://github.com/villdev/conway
Terminal based Conway's Game of Life implemented with Go.
https://github.com/villdev/conway
game go golang simulation tcell terminal-based
Last synced: 5 months ago
JSON representation
Terminal based Conway's Game of Life implemented with Go.
- Host: GitHub
- URL: https://github.com/villdev/conway
- Owner: villdev
- Created: 2024-08-20T15:39:42.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-08-23T13:27:08.000Z (almost 2 years ago)
- Last Synced: 2024-09-16T05:55:40.718Z (over 1 year ago)
- Topics: game, go, golang, simulation, tcell, terminal-based
- Language: Go
- Homepage:
- Size: 13.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.MD
Awesome Lists containing this project
README
## Conway's Game of Life
Created in Go using [tcell](https://github.com/gdamore/tcell).
### Setup
Clone and open directory in terminal.
```
go run main.go
```
### Demo
https://github.com/user-attachments/assets/2279c989-14fc-40f5-b1c2-749e8846f40b
### Controls
1. Esc or Ctrl+c to exit.
2. Spacebar - play/pause.
3. Left/right arrow - change pattern.
4. G - show/hide grid.
5. R - reset state
### Patterns
1. Random
2. Block
3. Beehive
4. Blinker
5. Toad
6. Glider
7. Spaceship
8. Spaceship2
9. Diehard
10. Acorn