Rule 110 is one of the simplest Turing-complete cellular automatons. This implementation lives on the Ethereum blockchain.
Visit the live Ðapp: https://vsergeev.github.io/evolve110
Visit the live Ðapp via Swarm: bzz://evolve110.eth
Use a browser wallet like MetaMask to evolve an existing game or to create a new one.
For development, evolve110 uses the Truffle framework, ganache Ethereum test node, and browser-sync web server.
npm install -g truffle ganache-cli browser-sync
Start ganache-cli, and then run truffle test.
ganache-cli
truffle test
Use the start.sh script to automatically start ganache, run migrations, and start the browser-sync web server.
./start.sh
Visit the Ðapp locally: http://localhost:3000
contracts/- ContractsRule110.sol- Project contractMigrations.sol- Truffle migrations contract
test/- Contract unit testsrule110.js- Project unit test
migrations/- Truffle migrations1_initial_migration.js- Migrations contract deployment2_deploy_contracts.js- Game factory contract deployment3_create_games.js- Initial games creation4_write_config.js- Configuration file creation
build/- Compiled contracts and deployment trackingdocs/- Websitecss/js/app.js- Website application
index.html- Website layoutconfig.json- Deployed addresses and configuration
py/- Python modelrule110.py- Python implementation
truffle.js- Truffle configurationstart.sh- Local run scriptLICENSE- MIT LicenseREADME.md- This README
evolve110 is MIT licensed. See the included LICENSE file.