Re: [Tutor] Generating dynamic output

2011-12-02 Thread Andreas Perstinger
On 2011-12-02 00:30, Charles Karl Becker wrote: So the main thing I'm looking for are pointers on how I could optimize/refactor this, and any resources on this and how to 'think' more in the right way for this type of thing. Also, please let me know what's good about it :P def build_line(part):

Re: [Tutor] Generating dynamic output

2011-12-01 Thread Alan Gauld
On 01/12/11 23:30, Charles Karl Becker wrote: sending this as plain text after the sig, if any indenting is lost please let me know and I can send the file Looks ok to me... a few comments below, the main block was hurting my hewad so I gave up for now. Its late... def build_line(part):

[Tutor] Generating dynamic output

2011-12-01 Thread Charles Karl Becker
Hi everyone, My CS mentor (not school credit, just a friend helping me with some blindspots and pointers, etc) has been having me write, and then extend, a Tic Tac Toe game. Currently I'm working on dynamically creating the board/output with varying sizes so the user can define the size of the bo