3 ms·
I'm also one of umpteen developers who have played with writing a Conway's Game of Life app. All the ones I've built have used the HashLife algorithm: https://
by braythwayt 8y ago
I'm also one of umpteen developers who have played with writing a Conway's Game of Life app. All the ones I've built have used the HashLife algorithm:
https://en.wikipedia.org/wiki/Hashlife https://en.wikipedia.org/wiki/Hashlife
Here's one of my attempts, you can play with it in a browser. There's infinite scrolling, and you can do ridiculous things like start up a glider gun and watch it run out to billions of generations.
http://raganwald.com/hashlife/ http://raganwald.com/hashlife/
The source code is on Github:
https://github.com/raganwald/hashlife https://github.com/raganwald/hashlife