[Tutor] Condensing Some Massive Code

David Millar davmillar at gmail.com
Sun Sep 2 19:24:33 CEST 2007


Hello. I'm working on a text adventure game right now, and I seem to be kind
of stuck. There's a huge chunk of code called moreaction() that pulls
scripted events for certain locations. It's ever-changing so I'm not looking
for specifics, but can anyone suggest good ways to clean up or condense the
code without sacrificing clarity? The latest version of the source is found
at http://thegriddle.net/python/v006.txt Any help is much appreciated :) -
Dave M.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/tutor/attachments/20070902/c9c20904/attachment-0001.htm 


More information about the Tutor mailing list