pygame is
pygame.org is
|
Conway's Game of Life
Conway's Game of LifeJohn Slavick (readysquid)Tags:DescriptionThis 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. Links
ScreenshotPygame.org account CommentsIf you wish to leave a comment with your pygame.org account, please sign in first.
|
|