conwaysgame / go

A Go implementation of Conway's Game of Life

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Conways's Game of Life in Go

This is an implementation of Conway's Game of Life in Go I created as an exercise in understanding Go and Behaviour-Driven Development in Go. Created by @basicallydan.

The Game

Run go run main.go and you should see a 20x20 world starting with a glider. Each step, the glider will move and eventually die out when it hits the edge of the world. If you want to change the size of the world or starting population, please edit main.go.

Tests

Run go test ./gameOfLife and you should see a little ok message

Contributing

If you'd like to contribute, that's great and I encourage it - I do, however, also encourage reading the contributing doc first. The golden rule for contributing is that you ensure that the tests are still passing before you make a pull request.

About

A Go implementation of Conway's Game of Life

License:Mozilla Public License 2.0


Languages

Language:Go 100.0%