https://github.com/codehearts/cest-la-vie
🔬 Game of life in different languages, for fun!
https://github.com/codehearts/cest-la-vie
conways-game-of-life
Last synced: 8 months ago
JSON representation
🔬 Game of life in different languages, for fun!
- Host: GitHub
- URL: https://github.com/codehearts/cest-la-vie
- Owner: codehearts
- Created: 2017-12-22T06:36:17.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2017-12-22T06:36:41.000Z (about 8 years ago)
- Last Synced: 2025-04-05T18:52:40.797Z (12 months ago)
- Topics: conways-game-of-life
- Language: Python
- Homepage:
- Size: 7.98 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# Life Implementations
Implementations of Conway's Game of Life in different languages, just for fun!
## C Implementation
Uses bits within a `char` to represent the alive state and number of neighbors for any given cell. Glut is used for drawing even though it's deprecated, I just wanted quick 'n dirty graphics with C! Run `make` from the project directory and you should get a binary on Linux or macOS.

## Python Implementation
Much less efficient than the C version, but I added some rules for coloring cells to make things interesting (spoiler alert: future generations just get muddier and muddier). Uses `pyglet` (my favorite) and `python3`, so just `pip3 install pyglet` and then `python3 main.py`
