Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/makemake-kbo/optimistic-game-of-life

Conway's game of life on Optimistic Ethereum
https://github.com/makemake-kbo/optimistic-game-of-life

dapp ethereum ethereum-contract ethereum-dapp game-of-life optimism optimism-l2 optimistic-rollup

Last synced: 5 days ago
JSON representation

Conway's game of life on Optimistic Ethereum

Awesome Lists containing this project

README

        

# 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.