made conways game of life real quick
-
- Prole
- Posts: 18
- Joined: Wed Nov 07, 2012 10:24 pm
made conways game of life real quick
- Attachments
-
- life2d.love
- (1.38 KiB) Downloaded 200 times
-
- Prole
- Posts: 44
- Joined: Sat Dec 15, 2012 7:55 am
Re: made conways game of life real quick
This is a real neat idea. I've never heard of Conway's Game of Life before, but after reading about it, I was super facinated by the simple rules. It's fun to watch too!
Wikipedia for those wondering:
http://en.wikipedia.org/wiki/Conway%27s_Game_of_Life
I gave it a shot, and made a red team and a blue team. Rule 4 (Any dead cell with exactly three live neighbours becomes a live cell, as if by reproduction) was modified so that the new cell took on the colour of the majority of the 3 neighbour cells.
usage:
press 's' to advance by 1 generation
press 'r' or hold down 'space' to keep advancing generations
use the arrow keys to move the view around
press 'escape' to reset the game
Wikipedia for those wondering:
http://en.wikipedia.org/wiki/Conway%27s_Game_of_Life
I gave it a shot, and made a red team and a blue team. Rule 4 (Any dead cell with exactly three live neighbours becomes a live cell, as if by reproduction) was modified so that the new cell took on the colour of the majority of the 3 neighbour cells.
usage:
press 's' to advance by 1 generation
press 'r' or hold down 'space' to keep advancing generations
use the arrow keys to move the view around
press 'escape' to reset the game
- Attachments
-
- life.love
- (2.92 KiB) Downloaded 164 times
Who is online
Users browsing this forum: No registered users and 4 guests