~hokiegeek/life

c41a449353d445a06ec7334b540afb793d577cd8 — HokieGeek 6 months ago 6aab9ad v3.0.1
Refactored to host on sr.ht and converted to a mod
4 files changed, 22 insertions(+), 4 deletions(-)

A .build.yml
M README.md
M cmd/life/main.go
A go.mod
A .build.yml => .build.yml +15 -0
@@ 0,0 1,15 @@
image: alpine/edge
packages:
  - go
  - git
sources:
  - https://git.sr.ht/~hokiegeek/life
environment:
  PROJ: life
tasks:
  - build: |
      cd ${PROJ}
      go build -v ./...
  - test: |
      cd ${PROJ}
      go test -v -cover ./...

M README.md => README.md +3 -3
@@ 1,8 1,8 @@
# life  [![coverage report](https://gitlab.com/pond-life/life/badges/master/coverage.svg)](https://gitlab.com/pond-life/life/commits/master) [![GoDoc](http://godoc.org/gitlab.com/pond-life/life?status.png)](http://godoc.org/gitlab.com/pond-life/life)
# life  [![GoDoc](http://godoc.org/git.sr.ht/~hokiegeek/life?status.png)](http://godoc.org/git.sr.ht/~hokiegeek/life)

This library allows you to run a [Conway's Game of Life](http://www.conwaylife.com/wiki/Conway%27s_Game_of_Life) simulation.

Related packages:

- [biologist](https://gitlab.com/pond-life/biologist)
- [biologist-web](https://gitlab.com/pond-life/biologist-web)
- [biologist](https://git.sr.ht/~hokiegeek/biologist)
- [biologist-web](https://git.sr.ht/~hokiegeek/biologist-web)

M cmd/life/main.go => cmd/life/main.go +1 -1
@@ 7,7 7,7 @@ import (
	"os"
	"time"

	"gitlab.com/pond-life/life"
	"git.sr.ht/~hokiegeek/life"
)

func displaypond(strategy *life.Life, rate time.Duration, iterations int, static, paused bool) {

A go.mod => go.mod +3 -0
@@ 0,0 1,3 @@
module git.sr.ht/~hokiegeek/life

go 1.12