Skip to main content

Questions tagged [game-of-life]

for challenges involving John Conway's Game of Life.

11 votes
5 answers
1k views

Generate four 2D arrays(2D string or whatever is fine) of same size that follows a glider in Conway's life of game. Each cell is 3x3 plus 1-width border. Each frame, it advances 1 cycle and shift the ...
l4m2's user avatar
  • 32.5k
8 votes
6 answers
742 views

There are already many challenges where you are given a cellular automaton rule and an initial state and you have to find the state after a certain number of steps. This challenge is the opposite: you ...
alephalpha's user avatar
  • 51.9k
8 votes
1 answer
739 views

Conway's Game of Life is a cellular automaton "played" on an infinite grid, filled with cells that are either alive or dead. Once given an initial state, the board evolves indefinitely ...
c--'s user avatar
  • 2,653
4 votes
1 answer
415 views

There's a lot of questions about Conway's Game of Life, but nothing about customization (Related: 2-Player Life). Given an input, determine the result on a 100x100 grid after some iterations. The ...
Infigon's user avatar
  • 571
25 votes
20 answers
4k views

Conways' Game of Life is a well known cellular automaton "played" on an infinite grid, filled with cells that are either alive or dead. Once given an initial state, the board evolves ...
caird coinheringaahing's user avatar
11 votes
7 answers
852 views

This is OEIS sequence A055397. In Conway's Game of life, a still life is a pattern that does not change over time. We can see from the rules of Conway's Game of life that, a pattern is a still life if ...
alephalpha's user avatar
  • 51.9k
5 votes
2 answers
580 views

Input: a whole positive number greater than 4 Output: A whole positive number that describes the highest possible period an oscillator could have inside a square space of size (input)x(input) in a &...
Squareoot's user avatar
  • 163
32 votes
13 answers
2k views

Background Note: This configuration was co-found by one of our fellow code golf enthusiasts, Zgarb A 29 year old conjecture by John Conway about the Game of Life was recently solved. To quote Conway ...
Jonah's user avatar
  • 34.1k
8 votes
4 answers
459 views

This challenge is one of the two challenges which were planned for Advent of Code Golf 2021, but didn't fit into the 25-day schedule. Related to AoC2020 Day 24, Part 2. Given a binary configuration ...
Bubbler's user avatar
  • 79.3k
10 votes
7 answers
2k views

Background The 4-8-8 tiling looks like this: For the purpose of this challenge, we take the orientation of the tiling as exactly shown above. In plain English words, we take the tiling so that it can ...
Bubbler's user avatar
  • 79.3k
10 votes
0 answers
479 views

Conway's Game of Life is a well known cellular automaton "played" on an infinite grid, filled with cells that are either alive or dead. Once given an initial state, the board evolves ...
caird coinheringaahing's user avatar
6 votes
1 answer
455 views

In Conway's Game of Life, there is an infinite square grid of cells, each of which is alive or dead. The pattern changes each "generation". A dead cell with exactly 3 live neighbors (...
Beefster's user avatar
  • 10k
17 votes
5 answers
1k views

Conways' Game of Life is a well known cellular automaton "played" on an infinite grid, filled with cells that are either alive or dead. Once given an initial state, the board evolves ...
caird coinheringaahing's user avatar
38 votes
3 answers
4k views

Inspiration Conway's Game of Life is a well known cellular automaton "played" on an infinite grid, filled with cells that are either alive or dead. Once given an initial state, the board ...
caird coinheringaahing's user avatar
34 votes
9 answers
4k views

The Problem: You receive a (section of) a Conway's Game of Life grid. Your task is to output whether it represents a still-life (subsequent generations are identical to the current grid), a ...
Spitemaster's user avatar
  • 2,189

15 30 50 per page