This site requires JavaScript, please enable it in your browser!
Greenfoot back

Report as inappropriate.

MatheMagician
MatheMagician presents ...

2012/10/25

Game of Life

This game creates some very cool patterns. You can zoom in with left click and zoom out with right. Press "r" to re-randomize the setup. It is based on Conway's game of life. It runs on these rules to automate the pixels or "cells":

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

This version contains 250,000 cells (one for each pixel). You can learn more about the game of life here: http://en.wikipedia.org/wiki/Conway's_Game_of_Life.

3802 views / 18 in the last 7 days

2 votes | 0 in the last 7 days

Tags: simulation demo with-source biology

open in greenfoot
Your browser is ignoring the <APPLET> tag.
A new version of this scenario was uploaded on Fri Oct 26 11:53:57 UTC 2012 Starts out with fewer.
A new version of this scenario was uploaded on Fri Oct 26 13:50:33 UTC 2012 Even bigger!
MatheMagicianMatheMagician

2012/10/26

Yeah, I will work on that.
A new version of this scenario was uploaded on Fri Oct 26 16:01:43 UTC 2012 Fixed the bug a little bit.
MatheMagicianMatheMagician

2012/10/26

Now the bug only happens ocassionally when you try to zoom out.
A new version of this scenario was uploaded on Fri Oct 26 18:52:24 UTC 2012 I follows the rules more precisely now.
A new version of this scenario was uploaded on Fri Oct 26 22:54:04 UTC 2012 Now it contains some other setups.
PoleBro764PoleBro764

2012/10/27

Cleveland Ingenuity Fest 2012! Yeah!
MatheMagicianMatheMagician

2012/10/28

Excuse me?
A new version of this scenario was uploaded on Wed Dec 12 23:54:50 UTC 2012 500x500 world with 93 lines of code

See all comments

Want to leave a comment? You must first log in.

Who likes this?

Game/maniac miles7191