Conway's game of life takes place on a grid of square cells, each of which can be alive or dead. Each cell interacts with its eight "neighbors", or cells vertically, horizontally, or diagonally adjacent: 1. Any live cell with fewer than two live neighbours dies, as if caused by underpopulation. 2. Any live cell with two or three live neighbours lives on to the next generation. 3. Any live cell with more than three live neighbours dies, as if by overpopulation. 4. Any dead cell with exactly three live neighbours becomes a live cell, as if by reproduction. every generation, these rules are applied to every cell at once. draw cells by clicking on them. you can erase cells by moving the slider to the right where it says "mode". You can start and stop the simulation by pressing the start or stop button, or pressing space. the "step" button advances the simulation by one generation. when edge mode is set to "edge", the edges of the board behave as boundaries. When the edge mode is set to "wrap", the edges behave as if they were connected to the other side, and can pass through edges. the "rule" button allows you to change the rule. Rules are defined by B.../S... where the digits after B specify the amount of live neighbors necessary for a dead cell to be born in the next step. The digits after S specify the amount of live neighbors necessary for a cell to survive to the next step. For example, the rule string "B6/S15" means"a dead cell is born if it has exactly 6 living neighbors, and a living cell survives if it has 1 or 5 living neighbors". Entering a rule that is not in this format will display as "invalid". The standard game of life is B3/S23.
no longer works as of scratch 3.0 The original game of life was created by John Conway. The script is created by me using my own algorithm. CODES: 00006001200180000C00240C4824605000400003300426288A618C0000000210CA518860000PB3/S23 still life collection 000038009000200440088701121404000800A1C0048001000200281C0048001002200040050TB3/S23 some spaceships 000000C001800000000000001C0008002000000000380010004000000000000000000000000PB3/S23 a glider moves a block 000000000000C180C609549DB715541C70000071C155476DC95483180C18000000000000000Pb3/s23 a large period 3 oscillator. 000000000000000000002000400140010002000400080028002000400000000000000000000PB3/S23 another interesting oscillator