This is a variant of Conway's game of life. Instead of using an 8-cell neighborhood, this uses a 6-cell neighborhood. In the default rule set, cells are born if they have exactly 2 neighbors, and they survive if they have 3 or 4 neighbors. 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.
The original game of life was created by John Conway. The script is created by me using my own algorithm. CODES: 000000006001414181800000000000000000A08020810200000000000000203040400000000PB2/S34 a collection of oscillators in the default rule. 000000000000000000000000000000000014001A00D00000000000000000000000000000000PB2/S34 a large period 12 oscillating pattern. 000000000000000000000000600080018007000000000000000000000000000000000000000PB2/S34 a p48 oscillator 00000000000000009200F003B81DB816D076E15B51DB816D076E03B803C0092000000000000PB2/S34 an oscillating pattern that is stable in the center. 0000000000000000000000010010000A0040002801000040000000000000000000000000000TB245/S3 this is a spaceship in a different rule. let me know if you have more codes. If they are interesting, i might add them.