Try
Game of lifeHow to use:
Enter a string of the form: “1111_0000_1111” in the input, where “1” is a live cell, “0” is a dead cell and “_” is a new line.
Rules:
- Any live cell with fewer than two live neighbours dies, as if by underpopulation.
- 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 overpopulation.
- Any dead cell with exactly three live neighbours becomes a live cell, as if by reproduction.
Game ends if:
- There are no living cells
- The current generation is no different from the next
Ready-made templates:
00000000000000_00000001100000_00000001100000_00000000000000_00000111100000_01101000010000_01101011010000_00001000110110_00001000010110_00000111100000_00000000000000_00000110000000_00000110000000_00000000000000
00000000000000_00000000000000_00000000000000_00000000000000_00000011000000_00001111000000_00011100000000_00000011100000_00000010000000_00000000010000_00000000000000_00000000000000_00000000000000_00000000000000
Get crazy and have fun!