[Tutor] Planning out your program

Andrei Kulakov ak@silmarill.org
Fri, 12 Jul 2002 20:08:22 -0400


On Fri, Jul 12, 2002 at 04:12:49PM -0700, Britt A. Green wrote:
> I made a very crude little text adventure in Python a few months ago.
> However, as I began to add on functionality to it, it became apparent that a
> lot of the underlying code wasn't capable of being improved. The original
> code basically let one player walk amongst a dozen rooms and pick things up.
> To get it to do much more would mean a huge rewrite of what I'd already
> done.
> 
> So I'm going to have a lot of free time this summer and want to write
> something a bit more complex. What would be the best way to plan out my code
> before I start writing?
>
That's a rather vague question :-). What exactly made the original code
hard to improve?

There's not quick and easy answer here, I'm afraid. This sort of thing
comes with practice, trial and error.

> 
> Britt
> 
> --
> "My mom says I'm cool."
> 
> 
> 
> _______________________________________________
> Tutor maillist  -  Tutor@python.org
> http://mail.python.org/mailman/listinfo/tutor
> 
> 

-- 
Cymbaline: intelligent learning mp3 player - python, linux, console.
get it at: cy.silmarill.org