A simple game of life. #Game of Life #Puzzle game #Conway #Gameoflife #Cellularautomata #Zeroplayer
Conway's Game of Life, the Python/PyGame version!
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.
What's new in Conway's Game of Life 1.1:
- Added the ability to create/kill cells with the mouse.
- Create a cell by left clicking.
- Kill a cell by right clicking.
- Press the Space bar to pause.
User Comments
This enables Disqus, Inc. to process some of your data. Disqus privacy policy
Conway's Game of Life 1.1
add to watchlist add to download basket send us an update REPORT- runs on:
- Linux
- filename:
- Life.ReadySquid.zip
1 screenshot:
- main category:
- Games
- developer:
- visit homepage