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

Report as inappropriate.

danpost
danpost presents ...

2012/8/31

Game of Life (Conway's)

My version of Conway's Game of Life. Contains a copy/paste feature as well as allows user to toggle world-wrapping on and off. Click to toggle cell-state or press 'r' for randomizer. See the header screen for the actions you can perform.

Use the 'enter' key to start and stop execution of life cycles (changed from holding spacebar to run execution).

You can select an area by mouse-dragging to put a selection in a temporary holding place. If the selecting color is redish, you can save the area; if it is blueish, you cannot. From there, you can press 'shift-1' through '5' to store the area in that location. Then, pressing '1' through '5' without shifting will clear the grid and display the area saved. If you are logged on, these will be permanently saved in your UserInfo data.

The '1' and '2' locations are pre-loaded with grid set-ups. '1' will run 997 cycles before repetition; and '2' has pentanome sliders 'marching' in formation.

Have Fun!

3446 views / 14 in the last 7 days

5 votes | 0 in the last 7 days

Tags: mouse game simulation demo keyboard conway danpost game_of_life

This scenario is a member of: Demos by danpost


Your browser does not support the canvas tag.
A new version of this scenario was uploaded on Fri Aug 31 22:35:10 UTC 2012 My sim of Conway's Game of Life with special features.
A new version of this scenario was uploaded on Sat Sep 01 00:26:38 UTC 2012 My sim on Conway's Game of Life with special features. New addition: cycle counter.
danpostdanpost

2012/9/1

All questions, comments and suggestions welcome.
A new version of this scenario was uploaded on Fri Sep 07 00:33:16 UTC 2012 No longer using space holding to execute. 'Enter' key turns execution on and off. Also added limited area selecting for saving.
kiarockskiarocks

2012/9/7

At about 6000 cycles my world finally stopped changing!
danpostdanpost

2012/9/7

@kiarocks, was that a random set-up?
kiarockskiarocks

2012/9/7

Yes
A new version of this scenario was uploaded on Tue Dec 25 03:14:43 UTC 2012 Added some more interesting repeaters; stored in 3 and 4 if not logged in or not overriden.
askgriffaskgriff

2013/1/24

I would like to see a combination of this and Mik's "Predator Prey" program. Maybe with some genetic changes after a few million iterations. :)
KartoffelbrotKartoffelbrot

2013/7/30

Programming this with Greenfoot was a project in school from us. :D

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

Who likes this?

Kartoffelbrot askgriff actinium nooby123 MatheMagician