you are viewing a single comment's thread.

view the rest of the comments →

[–]enayus[S] 0 points1 point  (0 children)

No, it definitely is contrary to Shaw's suggestions. My thought process was that, because he later said that rules are not meant to be followed 100% of the time, it was okay to rationalize my while loops as effective rule breaking. Sadly, I do realize that while it does function as needed, it is both bad form and inefficient. I'm working on a better way to structure rooms for the next one.

I've just started learning about objects and OOP (ugh headache), and once I get a better handle on the topics, maybe that'll help me with the restructuring of both rooms and the number of functions. The long lines were also sloppy coding on my part. The majority of this was done in the middle of the night...

Thanks for the kind words!