Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

A simple, colorful Game Of Life demo on the terminal

Project Description

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 History

Release History

This version
History Node

1.1

History Node

1.0

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
conway-1.1.tar.gz (5.1 kB) Copy SHA256 Checksum SHA256 Source Jun 22, 2012

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting