This morning will be the seventh day of The Flatiron School. Yesterday (the sixth day) was by far the most challenging day for me. Yesterday we were introduced to many new things in the ruby language and it became a lot to comprehend all at once. As yesterday was seemingly overwhelming, it became very clear to me that no matter what the issue, the process becomes very important.
We were given a homework assignment to create a basketball game with the following guidelines:
For my seventh day, this assignment also felt overwhelming. Luckily for me (some would say), I have an hour long bus commute going home so it was a great opportunity to do some reading on hashes (which is how we were supposed to create this data).
While this feels like a lot of information for me (or at least it did), remembering the process became key (play on word). I chose to begin by planning out everything and talking myself through what these hashes would visually look like. Eventually I was able to visualize these hashes as simple numbered lists:
Eventually, my code ended up looking something like this (which I’m very proud of):
I am very happy with what I did on this homework assignment as I successfully took a large project and was able to plan out my execution well and break it down into smaller parts.
Later on in the assignment I was asked to make calls to the hash $basketball_game which maybe I’ll talk about in another post.