Skip to content

makemake-kbo/Optimistic-Game-of-Life

Repository files navigation

Optimistic Ethereum Game of Life

What?

This is an implementation of Conway's game of life, written in solidity and running on Optimistic Ethereum.
The rules are:

  1. Any live cell with fewer than two live neighbours dies, as if by underpopulation.
  2. Any live cell with two or three live neighbours lives on to the next generation.
  3. Any live cell with more than three live neighbours dies, as if by overpopulation.
  4. Any dead cell with exactly three live neighbours becomes a live cell, as if by reproduction.
You can only reset the board to its starting position and advance by one step at a time.

Frontend

The frontend is currently hosted here.

You can also host your own by cloning the repository and serving the index.html file.

Contributing

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.