Conway
Conway is a dead-simple implementation of Conway’s Game Of Life using my Blessings terminal library. It detects your terminal size and color depth and blits a lovely cellular automaton for your ogling pleasure.
Features
Simple implementation
Pretty colors
Few calories
Nudges itself out of repetitive patterns
Rather than having a zillion features, Conway focuses on clarity of implementation. It’s fun to hack on. Try implementing different wrap parameters for next_board!
Getting it running
pip install conway conway.py
You should see life explode before your eyes. When you’re done, hit control-C, and it’ll clean up nicely after itself.
Kudos
Ripped off a really elegant implementation of the algorithm from Jack Diedrich (and ruined it).
Version History
- 1.1
Use “fullscreen mode” so we don’t leave a big white screen behind afterward.
- 1.0
Initial release
Metadata
Release files for conway 1.1
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 |
|---|---|---|---|---|
| conway-1.1.tar.gz | 5.1 kB | Without provenance | Details for conway-1.1.tar.gz |
Release files / conway-1.1.tar.gz
| Download URL | conway-1.1.tar.gz |
|---|---|
| Size | 5.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
21eaca45501923061a59ef99d51a785528d0dd976f6b334c94bbb24233e381bf
|
|
BLAKE2b-256 checksum How to use checksums |
6d6f424229b39fe32c9973e955502482d6857d26a056a15994b84a1cad99cbfc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for conway 1.1
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.