Today, I made an adventure game. I am so proud to have authored a script that is 119 lines long, beginner style, yeeeeeeeah.Â
The exercise was to write a story outline and then program it. I can’t believe how much time I spent just figuring out what my subject would be. It’s hard to come up with a story line that has the right amount of complexity, that makes sense (sort of), and has enough repetition to justify needing methods.
For the most part, I have been reading code, studying it, and spitting out a block here and there, but I've never tried to build flow. At least not to this extent. Got to say, the momentum of coding and testing at the same time is really cool.Â
The tutorials are really where I have to stretch though. Today, I finally put it together that arrays and hashes are classes. When I've been checking if an object.is_a?(Hash), I’m actually asking if the object is part of the Hash class. Now, when I go to look up methods at ruby-doc.org, the items under the Class/Module Index make way more sense.  It doesn’t seem like I’ll be tampering with things on that scale any time soon, but it does sort of explain how strings and integers can have different methods! Â