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

Report as inappropriate.

Ninto
Ninto presents ...

2009/4/14

Ninto's Game of Life

'Ninto's Game of Life':

//Made with the rules from John Conway's 'Conway's Game of Life'(C).
//Inspiration from tkiesel's 'Conway's Game of Life'. (http://greenfootgallery.org/scenarios/663)
//Check also Wikipedia's entry to 'Conway's Game of Life'. (http://en.wikipedia.org/wiki/Conway's_Game_of_Life)

This games simulates the life of a lot of cells, that are "dead"(white) or "alive"(black).

Rules:
1. Any live cell with fewer than two live neighbours dies, as if by needs caused by underpopulation.
2. Any live cell with more than three live neighbours dies, as if by overcrowding.
3. Any live cell with two or three live neighbours lives, unchanged, to the next generation.
4. Any dead cell with exactly three live neighbours becomes a live cell.

Controls:
-space: run.
-a: act once and stop.
-c: kill all cells (clear).
-r: randomize all cells.
-leftClick: add living cell.
-rightClick: kill living cell.

Objective:
-Not existing.

5998 views / 10 in the last 7 days

4 votes | 0 in the last 7 days

Tags: mouse simulation with-source life interactive

open in greenfoot
Your browser is ignoring the <APPLET> tag.
HTML5 version not available | Scenario not running?
Caleb_BombCaleb_Bomb

2013/6/8

too fast, try to slow it down
shrucis1shrucis1

2013/11/8

Wow, this is really neat, I hadn't thought of trying to code Conway's Game of Life in Greenfoot. As soon as I saw this, I immediately started playing with the spaceships! XD

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

Who likes this?

shrucis1 SPower JetLennit jdl8