Tag: John Conway

Playing Conway’s Game of Life on StarkNet

Conway’s Game of Life is a simulation-based computer game where life-like structures emerge from the rules governing movement of the squares on screen.

From such simple rules, the Game of Life the entities on screen behave with completely unpredictable and complex interactions.

A basic, web2 version of the game can be played at the two links below:

There are also a number of mind-blowing YouTube videos on this type of thing, where “emergence” occurs from particle motion after basic rules are codified. [1]

To play the Game of Life on the StarkNet platform, visit the following link: https://www.gol2.io/

In order to play the game on StarkNet, you need a Argent X wallet. Fortunately, Argent X is pretty easy to setup as a browser extension. [2]

Since the game is new and currently in Alpha development, I used the Goerli test net to try the game for the sake of experimentation, because it does not feature live transaction data.

Game of Life on StarkNet Goerli Testnet

Conclusion

I did notice that transactions unfortunately take quite a long time to process.

While the game is interesting and it’s exciting to see new developments on Ethereum Layer-2 scaling solutions like StarkNet, I’m not sure that featuring this particular game on a blockchain is worthwhile.

Since evolution data doesn’t need to be stored and the game is really just for entertainment and viewing the progress of the simulation overtime, users who are curious about the Game of Life are better off trying it in the web2 versions I’ve shared above.

Sources

  1. https://www.youtube.com/watch?v=makaJpLvbow
  2. Consensys blog post: https://consensys.net/blog/cryptoeconomic-research/layer-2-and-scaling-solutions-march-2022-week-1/

CONWAY GAME OF LIFE cellular automata

game of life cellular automata rules

1. Each square is a cell.

2. Cells Have two possible states: either on or off, Alive or Dead

3. Cells fluctuate between alive and dead based on their interaction with the 8 neighboring cells.

4. Cells are born if there are exactly 3 live neighboring cells.

5. Cells die if they have fewer than 2 live neighbors or more than 3 live neighbors.

6. Cells survive if they have exactly 2 or 3 live neighbors.

To try the game of life for yourself:

best simulation: https://copy.sh/life/

Other game of life simulations:
https://www.dcode.fr/game-of-life

Those small but intricate moving squares is a programmatic simulation known as cellular automata. This is called the Game of Life.


The game of life is a computer simulation created by this guy John Conway. There are infinitely many combinations for how the game grows and progresses – in fact, its not really a game at all. It’s technically a zero player game, which means that the game’s evolution is determined by its initial state with no further input.

Fungi Game of life

**So I’m throwing out the challenge as mentioned in the YouTube video.. I can’t figure out how to make the game exhibit the fungi behavior again. I’m sure someone out there will be able to identify the correct settings. (Pls let me know)

Although the game maintains such simple rules, unimaginable levels of complexity can result.

Gliders are a crazy phenomena in the game. They move forever – infinitely in one direction.

These tiny blocks move in unpredictable patterns that can only be understood by letting the simulation play out. But every process in the simulation follows the rules of the system.


This is quite similar to the laws of physics that govern the way particles interact at an atomic level within our universe.

Could it be that these incredibly simple rules seem almost analogous to the rules governing how protons, neutrons, and electrons interact in our own universe?

Much like in the game, how small building blocks create larger multi-functioning entities that can achieve different weird tasks, our universe has atoms which create molecules which combine to form life as we know it.