Skip to content

Latest commit

 

History

History
29 lines (17 loc) · 855 Bytes

File metadata and controls

29 lines (17 loc) · 855 Bytes

Golife

travis

An implementation of Conway's Game of life in golang

Main program has a recursive function that uses Conway's rules to generate a next universe evolution and print it to the screen every second.

It uses a grid universe with wrapped edges, but it could be switched to another type of universe thanks to the usage of interfaces.

You could also write your own rules and use them instead of default ones.

Build and run

If you are not familiar with golang code, visit this page for more information: https://golang.org/cmd/go/

Test

Use standard command:

$ go test

Feeback/Issues

Feel free to open an issue in this repository for any feeback of issues you may find.