This is an implementation of Conway's Game of Life, a cellular automaton devised by John Conway, using Unreal Engine 5.3 with C++. It is a zero-player game that simulates the evolution of the population of cells, where each cell can be either dead or alive.
The evolution of the population is determined by the following 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.
These rules give rise to interesting patterns as the generations progress.
- Live and Dead cells.
- Generation and Population counting.
Customizations you can make to the cellular automaton instance (without the need to modify code):
- Color of Live/Dead cells.
- Width and Height of the board (grid of cells).
- Time between generations (In Rate).
- Input for each action (create, clear, stop/resume).
- Hold and drag to create or destroy cells (Default: Enter).
- Clear the board completely (Default: Space Bar).
- Stop/Resume the creation of new generations (Default: Left Mouse Click).