This is an implementation of Conway's game of life, written in solidity and running on Optimistic Ethereum.
The rules are:
- 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.
The frontend is currently hosted here.
You can also host your own by cloning the repository and serving the index.html
file.
If you find any bugs or have a suggestion, please open an issue. I also accept PR's so if you'd like to implement a feature feel free to open a PR.