Conway's Game of Life with go-sdl2
git clone
Log | Files | Refs | README

commit df6153bd4daf6c4d8692fee780c27edaf3d50463
parent 19471e734f4b05345c9014468e7c0a6d560b0a4f
Author: Brian C. Lane <>
Date:   Sat, 26 Nov 2022 08:44:36 -0800

Update for server option

Diffstat: | 15+++++++++++++++
1 file changed, 15 insertions(+), 0 deletions(-)

diff --git a/ b/ @@ -6,4 +6,19 @@ This implementation uses a [SDL2 Go library]( * Supports plaintext pattern files like those from the [Life Lexicon]( * Hit 'h' to display they key help on the console while it is running. * Pass '-help' on the cmdline to see the available options. +* Pass '-empty' to start with an empty world, this is useful when combined with '-server' which normally starts + with a random seed. +== Server + +Passing '-server' will listen to port 3051 for pattern files to be POSTed to it. This supports the same formats +as the cmdline -pattern argument (Life 1.05 and plain text). You can easily send it a pattern file using curl like +this: + + curl --data-binary @./examples/ + +== Building + +Run `go build` + +The only dependency is on the [SDL2 Go library](