https://github.com/matjam/amazing
a game of life simulator written in Go using ebiten
https://github.com/matjam/amazing
ebiten go golang
Last synced: 4 days ago
JSON representation
a game of life simulator written in Go using ebiten
- Host: GitHub
- URL: https://github.com/matjam/amazing
- Owner: matjam
- License: mit
- Created: 2021-09-15T04:45:00.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2021-09-16T02:11:48.000Z (almost 5 years ago)
- Last Synced: 2025-02-28T23:57:43.060Z (over 1 year ago)
- Topics: ebiten, go, golang
- Language: Go
- Homepage:
- Size: 13.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# amazing
A game of life simulator written in Go, using ebiten.

## Building
1. Install msys2 using chocolatey.
2. Open a msys2 shell. Install the development packages
```bash
pacman -S --needed base-devel mingw-w64-i686-toolchain mingw-w64-x86_64-toolchain
```
3. Install the go compiler using msys2 or chocolatey, it doesn't matter. Make sure it's in your path and make sure gcc
from msys2 is in your path too.
`go run cmd/amazing/main.go`
## Keyboard
* **F1** Randomize
* **F2** Clear the screen
* **SPACE** pause
* **ESC** quit
## Mouse
You can click around anywhere and add more live cells to the simulation. Right click will remove cells.
## Motivation
This was really just a thing to do to test Ebiten and go. I wanted to see how well it could handle just dumbly drawing all of the pixels every frame. It does pretty well!