Conway's Game of Life
Conway's Game of Life
Conway's Game of Life is a zero player game invented in 1970 by Mathematician John Conway to show how complex and emergent behavior can arise out of a set of seemingly simple rules. It is one theory for how life originated on Earth.
I recreated the game in Unity as a learning experience, and for fun.
Traditional Rules for Conways' Game of Life:
- Any live cell with fewer than two live neighbors dies, as if by underpopulation.
- Any live cell with two or three live neighbors lives on to the next generation.
- Any live cell with more than three live neighbors dies, as if by overpopulation.
- Any dead cell with exactly three live neighbors becomes a live cell, as if by reproduction.
Instructions:
- Set the size of the grid in width and height (max 150x100)
- Either randomize the starting position or create a custom one
- To create alive cells, click and hold the left mouse button down selecting cells to change their state to alive. (only works while simulation is paused)
- To remove alive cells, click and hold the right mouse button and select the cells you want to change. (only works while simulation is paused)
- Run the simulation and watch in wonder
- Either hit spacebar or click the play button to run sim
Controls:
- Esc = show/hide UI menu
- Spacebar = start/pause simulation
- Left mouse button = paint alive cells with mouse
- Right mouse button = remove alive cells with mouse
Status | Released |
Platforms | HTML5, Windows, macOS |
Author | TorchFire Games |
Genre | Simulation |
Made with | Unity |
Tags | Procedural Generation |
Leave a comment
Log in with itch.io to leave a comment.