Conway's Game of Life
This project is a simulation of the famous 0 player cell automata game Conway's Game of life! It can simulate the regular game as well as a special mode with extra sudden events to add randomness to the deterministic game.
Video Demo
Click to Watch

Features
- Custom number of generations simluated
- Customisation of weights
- Special Events which affect the spawn/death cycles
- Cells can have colours!
- Randomly generated Bombs!
- Grid Scales with terminal size
Usage Tutorial
When you run the program you can either run it without configuring the settings or configure them in you want to customise the board a bit. Here is an explanation of all the settings.
| Setting | Explanation |
|---|---|
| Dead Cell Weight | Configures the chance of a cell initally spawning empty/dead. |
| Alive Cell Weight | Configures the chance of a cell initally spawning alive. |
| Bomb Cell Weight | Configures the chance of a cell initally spawning with a bomb. |
| Normal Gen Weight | Configures the chance of no special event. |
| Famine Gen Weight | Configures the chance of Famine special event. |
| Love Gen Weight | Configures the chance of Love special event. |
You will get to see the inital state of the board before you start. If you wish to reset the board enter the letter 'r' to do so. This is the last stage to change the grid size with an explanation of how ot do so below.
Changing Resolution
To change the board size quickly you need to zoom out/in in the terminal and/or change the font size. To zoom in or out quickly in the Windows terminal hold CRTL+Scroll.
Build & Run
This program has only been tested to run on Windows 11 so I cannot guarantee function on other platforms however I do not believe there is any reason why it shouldn't work.
Windows
pip install ConwayGameOfLife
ConwayGameOfLife
AI Usage
ChatGPT was used for this project for the inital menu.
Metadata
Release files for ConwayGameOfLife 1.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| conwaygameoflife-1.1.0.tar.gz | 5.1 kB | Without provenance | Details for conwaygameoflife-1.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| conwaygameoflife-1.1.0-py3-none-any.whl | Python 3 | none | any | Details for conwaygameoflife-1.1.0-py3-none-any.whl |
Total release size: 12.1 kB
Release files / conwaygameoflife-1.1.0.tar.gz
| Download URL | conwaygameoflife-1.1.0.tar.gz |
|---|---|
| Size | 5.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e21190630ebe3ef48f75a8177dd911110f01af1e855ca339df7b04456cc3088d
|
|
BLAKE2b-256 checksum How to use checksums |
24a74b36a3daa6be77c9d7982be9bb825659d6a8a16cbb6603875ac1cf0338a9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.1
|
Release files / conwaygameoflife-1.1.0-py3-none-any.whl
| Download URL | conwaygameoflife-1.1.0-py3-none-any.whl |
|---|---|
| Size | 7.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ffa82b03fde14e74686bfbff48f86f9d190e7cd8a11361624a7d9256387c8861
|
|
BLAKE2b-256 checksum How to use checksums |
406e3b34e8fd2885b1521b426f14571709d6d2c69c0b106286ca9c58f77e96a1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.1
|
Security for ConwayGameOfLife 1.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.