Conway’s Game of Life has amazed Computer Scientists and Mathematicians for over half a century now. For those who don’t know, the Game of Life is a zero-player game that follows four simple rules and can end in chaotic, beautiful, and mind-blowing outcomes. This simple game can even be used to simulate a Turing machine (you can essentially program using the game).
You can get a feel for the game here: https://playgameoflife.com/
What is Conway’s Game of Life?
Conway’s Game of Life starts with a 2d grid, and each cell in the grid being either alive or dead. The grid will then evolve after each iteration based on the following rules:
- Any living cell with less than 2 live neighbors dies
- Any living cell with 2 or 3 live neighbors continues to be alive
- Any dead cell with three live neighbors becomes a live cell
- Any live cell with more than 3 live neighbors dies
Following these rules, each cell counts the number of live cells adjacent to it and determines its upcoming status.
Tech We’ll Be Using
Codesphere is a no-config cloud provider that will allow us to deploy our app seamlessly. We’re going to use it to host our Game of Life simulator. You can learn more here:
Cool Starting Grids
These are just the tip of the iceberg! By adjusting the grid length and survival rules there is literally an infinite number of patterns you can generate.
Hope you enjoyed it!
Happy coding from your good friends at Codesphere, the next-generation cloud provider.
Video Streaming: How We Got Here and Why It Works So Well
Taking a closer look at how streaming is not only possible but has become such a consumer-friendly industry (Not to mention a lucrative… (Read More)