This repository is meant to work as a simple simulation of life. Multiple beings can move around the surface and try to survive. It is not a perfect simulation and not many (if any) laws of nature are implemented. Still a fun little project to showcase the capabilities of go.
The terrain generation is done using Perlin noise, the movement is based on Brownian motion. Everything else is pretty much randomly generated or chosen.
- ebiten ... a simple game library
- Go 1.12 or later (ebiten requirement)
- dep
Get the code:
go get -u github.com/rubinda/GoWorldGet the dependencies:
cd $GOPATH/src/github.com/rubinda/GoWorld
dep ensureThen, you can choose to either install to GOBIN:
go install cmd/goworld/goworld.go
goworld... or build in the source folder:
go build -o GoWorld cmd/goworld/goworld.go
./GoWorldNote: the last two commands (install or build) assume that you are positined at the root folder of this repository and that the appropriate tools and packages are installed. On macOS High Sierra nothing additional was needed, but in case of Ubuntu 20.04
xorg-devandlibgl1-mesa-devwere required)
See LICENSE.md

