ScratchData LogoScratchData
Back to MasterOfArithmetic's profile

Conway's Game of Life

MAMasterOfArithmetic•Created May 25, 2014
Conway's Game of Life
15
6
184 views
View on Scratch

Instructions

If the delay of the generations is manual, press space to manually clock it. While on manual, click on a cell to switch it. When you switch to automatic, press space to start it.

Description

This is an EXACT copy of Conway's Life, except that the screen wraps. This simulates Conway's game of life. The universe of the Game of Life is a two-dimensional orthogonal grid of square cells, each of which is in one of two possible states, alive or dead. Every cell interacts with its eight neighbours, which are the cells that are horizontally, vertically, or diagonally adjacent. At each step in time, the following transitions occur: 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 overcrowding. Any dead cell with exactly three live neighbours becomes a live cell. For more information, visit this: http://en.wikipedia.org/wiki/Conway%27s_game_of_life

Project Details

Project ID22749230
CreatedMay 25, 2014
Last ModifiedMay 2, 2015
SharedMay 26, 2014
Visibilityvisible
CommentsAllowed