https://github.com/claudemuller/life.go
Conway's Game of Life in Go
https://github.com/claudemuller/life.go
conways-game-of-life go raylib simulation
Last synced: 11 months ago
JSON representation
Conway's Game of Life in Go
- Host: GitHub
- URL: https://github.com/claudemuller/life.go
- Owner: claudemuller
- Created: 2023-08-05T11:07:28.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2023-08-16T12:54:52.000Z (almost 3 years ago)
- Last Synced: 2025-02-14T18:33:45.685Z (over 1 year ago)
- Topics: conways-game-of-life, go, raylib, simulation
- Language: Go
- Homepage:
- Size: 41 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Conway's Game of Life
[](https://github.com/claudemuller/life-go/actions/workflows/go.yml)
Conway's Game of Life written in Go with [raylib](https://github.com/raysan5/raylib).

# Requirements
- [Go](https://go.dev/)
- [raylib](https://github.com/raysan5/raylib)
# Simulation Interaction
The simulation starts in `edit` mode:

One can use the:
- `space` key to toggle between editing or running the simulation
- `right-mouse` button to add cells
- `left-mouse` button to remove cells
- `s` key to to seed the Petri dish with random cells

- `enter` key to restart with a clean Petri dish
- `q` key to quit
# Build
```bash
go build cmd/main.go
```
# Run
```bash
go run cmd/main.go
```