GLBasic forum

Main forum => Announcements => Topic started by: UBERmonkeybot on 2016-Jun-27

Title: Game of Life
Post by: UBERmonkeybot on 2016-Jun-27
This is my implementation of Conway's game of life.

Any live cell with fewer than two live neighbours dies, as if caused by under-population.
Any live cell with two or three live neighbours lives on to the next generation.
Any live cell with more than three live neighbours dies, as if by over-population.
Any dead cell with exactly three live neighbours becomes a live cell, as if by reproduction.

so you can try to create  patterns that will live for as long as possible.




https://en.wikipedia.org/wiki/Conway%27s_Game_of_Life (https://en.wikipedia.org/wiki/Conway%27s_Game_of_Life)
I am also testing my fledgling UI.

Thanks for looking.
Title: Re: Game of Life
Post by: Paul Smith on 2016-Jun-27
Panda detected this as a Virus,turned it off and it runs.
Not sure how to play
Title: Re: Game of Life
Post by: UBERmonkeybot on 2016-Jun-27
The wikipedia article explains it better than i could,It is basically a simulation of life.

Any live cell with fewer than two live neighbours dies, as if caused by under-population.
Any live cell with two or three live neighbours lives on to the next generation.
Any live cell with more than three live neighbours dies, as if by over-population.
Any dead cell with exactly three live neighbours becomes a live cell, as if by reproduction.

so you can try to create  patterns that will live for as long as possible.
It's not really a game.

Clear the grid and then choose "line of ten" then run simulation and you will see what i mean.

Panda probalby didn't like the fact it was an exe.
Title: Re: Game of Life
Post by: Schranz0r on 2016-Jul-01
you can also look at: http://www.glbasic.com/forum/index.php?topic=9100.msg77765#msg77765
A long time Ago...
Title: Re: Game of Life
Post by: UBERmonkeybot on 2016-Jul-01
I thought there may be one on here somewhere.
Title: Re: Game of Life
Post by: MrPlow on 2016-Aug-11
I think this was on my Horizons tape back when I had a my first computer Spectrum 48k.

:)

Title: Re: Game of Life
Post by: dreamerman on 2016-Aug-13
Idea behind the game is fair simple but it's something different so it can be good as little playground app/game. Or combine it with few other simple idea games and it would be nice logic pack for mobiles. Strange that e.g. on Windows Phone there are only 2 games based on 'Conway's game of life' idea, both unpolished/unfinished..
btw. at first I was thinking that it's some kind of evolution game where you need to create basic single-celled organisms :-)
Title: Re: Game of Life
Post by: MrPlow on 2016-Aug-13
My game Zombie Ablockalypse uses a spreading zombie virus in the gameplay.