sdl2-life

Conway's Game of Life with go-sdl2
git clone https://www.brianlane.com/git/sdl2-life
Log | Files | Refs | README

commit 45d40fc2c3a8031f5423d4e3c5839a003db6a01a
parent 019490540f15b4f4ae93bc57bf6f4293d270f659
Author: Brian C. Lane <bcl@brianlane.com>
Date:   Wed, 15 Apr 2020 06:39:37 -0700

Add plaintext examples

Diffstat:
Aexamples/demonoid.cells | 12++++++++++++
Aexamples/glider-gun.cells | 11+++++++++++
Aexamples/glider.cells | 5+++++
Aexamples/lwss.cells | 4++++
Aexamples/spaceship.cells | 19+++++++++++++++++++
5 files changed, 51 insertions(+), 0 deletions(-)

diff --git a/examples/demonoid.cells b/examples/demonoid.cells @@ -0,0 +1,12 @@ +....OO......OO.... +...O.O......O.O... +...O..........O... +OO.O..........O.OO +OO.O.O..OO..O.O.OO +...O.O.O..O.O.O... +...O.O.O..O.O.O... +OO.O.O..OO..O.O.OO +OO.O..........O.OO +...O..........O... +...O.O......O.O... +....OO......OO.... diff --git a/examples/glider-gun.cells b/examples/glider-gun.cells @@ -0,0 +1,11 @@ +!Name: Gosper glider gun +! +........................O........... +......................O.O........... +............OO......OO............OO +...........O...O....OO............OO +OO........O.....O...OO.............. +OO........O...O.OO....O.O........... +..........O.....O.......O........... +...........O...O.................... +............OO...................... diff --git a/examples/glider.cells b/examples/glider.cells @@ -0,0 +1,5 @@ +!Name: Glider +! +.O. +..O +OOO diff --git a/examples/lwss.cells b/examples/lwss.cells @@ -0,0 +1,4 @@ +.O..O +O.... +O...O +OOOO. diff --git a/examples/spaceship.cells b/examples/spaceship.cells @@ -0,0 +1,19 @@ +.................................O. +................O...............O.O +......O.O......O.....OO........O... +......O....O....O.OOOOOO....OO..... +......O.OOOOOOOO..........O..O.OOO. +.........O.....O.......OOOO....OOO. +....OO.................OOO.O....... +.O..OO.......OO........OO.......... +.O..O.............................. +O.................................. +.O..O.............................. +.O..OO.......OO........OO.......... +....OO.................OOO.O....... +.........O.....O.......OOOO....OOO. +......O.OOOOOOOO..........O..O.OOO. +......O....O....O.OOOOOO....OO..... +......O.O......O.....OO........O... +................O...............O.O +.................................O.