Life 2: Persistence

  1. Introduction
  2. The Goal
  3. Option 1: Store a screenshot of the universe
  4. Option 2: Store the universe array using str(u)
  5. Option 3: Store only the coordinates of live cells
  6. Option 4: Use only 1 bit per cell
  7. Python helps out: Pickling