Skip to main content

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

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)

Source distribution for conway 1.1
File Size Uploaded
conway-1.1.tar.gz 5.1 kB Details

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

Release history Release notifications | RSS feed

This release

1.1 This release

1 release file

1.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page