3 ms·
One of my first coding projects at school was Conway's game of life, but I found the black and white a bit too boring so I pushed the assignment further by intr
by franky47 3y ago
One of my first coding projects at school was Conway's game of life, but I found the black and white a bit too boring so I pushed the assignment further by introducing RGB "genes", and give spawns a combination of their parents' colours (with random mutations).
It's very fun watching which "faction" might take over the board.
Demo: https://genetic-life.surge.sh/ https://genetic-life.surge.sh/
Source (ported from the original C++ into Rust/WASM): https://github.com/franky47/genetic-life https://github.com/franky47/genetic-life