Assignment 2, what could have been.
Full disclosure; I did Assignment 2 totally wrong. Taking from my code I created for A1, I got about 70% through the assignment before I realized we were strongly recommended to use the starter code.
Given that 1. I found that out three days prior to the due date, and 2. My design of the classes was very different than what were given, so recycling code was out....You can tell how the rest of this week went.
Given that I had three days to do it, I spent all 3 days pulling long nights, caffeine fueled benders, and 20 tabs on python tips perpetually open.
In retrospect, it's taught me a few things, as well as given rise a few questions I've had as well.
What I learned:
- Procrastination never pays off.
- Learn the tools and framework you're going to use before you actually need to use them.
- Recursion is scary.
As for future questions, my prior framework that I ultimately ditched in favor of the start code used "Player" objects that came with some methods that would've made my life a lot easier. In addition, I used one GameState that simply updated as time went on.
In my mind, this was a pretty logical and intuitive way to approach the problem. Next week, I'll be visiting both professors to inquire about the design choices, why the decided to structure the code like that, and how that is more advantageous versus my original method.
In addition, given that the code I turned in was extremely buggy (although, it was in on time!), I'm ot exactly expecting to be heralded as the next Alan Turing, so I hope I will survive grade-wise.
Will update this post with the advice given to me by the professors when the time comes.
I feel for you... It sucks to read the question wrong... Sounds like it went okay at the end tho. I'm looking forward to reading your post about the lecturer's rationales. It would be interesting if you compared it to your own (I also used an updating gamestate and I had player objects with methods although this part might be slightly different)
ReplyDelete