Message329709
Here is a debugged version of mylife, which cloned life2.py to
use a class for turtle-ing. Note the difficulties at the
end of the code -- ontimer(fun, delay) calls for a zero arg
function, so draw() cannot be inside the class. Greatly annoying.
But now we know.
mylife3.py is a suitable example, I think. If cleaned up to
standards. I noticed there is a curses life.py example, which
is very interesting and fun, but mylife3.py is more fun...and
it has 2 different board topologies! And
it would make a very good test program. Note that it sets
the random seed which establishes the Cell patterns, so a
test ought to be repeatable, at least on a given machine.
I plan to use mylife3.py instead of a space heater this winter :) |
|
Date |
User |
Action |
Args |
2018-11-12 04:25:15 | bmoth | set | recipients:
+ bmoth, ronaldoussoren, gregorlingl, eric.smith, ned.deily, willingc, xtreak |
2018-11-12 04:25:15 | bmoth | set | messageid: <1541996715.81.0.788709270274.issue35211@psf.upfronthosting.co.za> |
2018-11-12 04:25:15 | bmoth | link | issue35211 messages |
2018-11-12 04:25:14 | bmoth | create | |
|