Conway's Game of Life
My implementation of the mesmerizing Conway's Game of Life.
This is my first project using the pygame library. It came together rather quickly, but my algorithm needed some optimization. So after iterating over my code, I managed a 5x performance improvement. To see all the available command line arguments: Life.py --help My favorite settings: Life.py --gridsize=256 --numcells=10000 To profile the code as I did use: Life.py --gridsize=256 --numcells=10000 --profile I feel my implementation is pretty optimized. But if you know of any other optimizations, please comment on my blog to let me know about them. Thanks.
- Home Page