Conway

  149 downloads
1.0 MIT/X Consortium License    
  not rated
A simple Game Of Life demo using the Blessings terminal lib

description

download

specifications

Conway is a dead-simple Python implementation of Conway's Game Of Life using the Blessings terminal library. It detects your terminal size and color depth and blits a lovely cellular automaton for your ogling pleasure.

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 contol-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).
READ MORE   
Last updated on June 8th, 2012

0 User reviews so far.

SUBMIT