briandconnelly / seeds

Stochastic Cellular Artificial Life Simulator
Other
20 stars 4 forks source link

Make the world an iterator? #32

Closed briandconnelly closed 13 years ago

briandconnelly commented 13 years ago

Then programs like runseeds.py could just use that. Perhaps iter would return the epoch number.

This would update the population as long as proceed was true. At the end, teardown() could be called to do the cleanup.

briandconnelly commented 13 years ago

Done. next() returns the current epoch.