Monday, January 23, 2012

Finally Finished with Homework 1

So I'm extremely behind but I wanted to get a post in seeing as I haven't gotten one down in a while.  I've finally finished Homework 1. I've also finally convinced my boss to let me work part time so I can spend more time on class. (thank God he agreed!)  Homework 1 was a bit of a crazy one.   We're working on creating our own game engine.  The first homework was making a Parent, Child, Sibling tree.  It's a data structure that allows us an easy way to organize the various parts of our game. It's a relief to finally have it finished.

There was one main section I found difficult. (most things weren't too hard.)  The remove function was the toughest one.  It required a little bit of recursion which everyone seems to dislike. The worst part was setting up the base case. There were 3 or 4 different branches to that one. I went in to talk to Keenan about this function because it gave me the most trouble. My main problem was that I had reversed the recursion and base case steps.  I swapped them and everything seemed to work out OK. The debugger and I got along surprisingly well.  It;s a nifty tool if you know how to use it right. I found out what section of code was causing problems rather easily with it.

Now it's on the memory system.  If I'm following the check points I should be trying to have it finished by Wednesday.  I already know this just isn't going to happen. I have no idea where to start.  I'm going to watch the first lecture on the topic and try to do some reading before I really start any coding. This coming weekend is going to have to be a big catch up weekend.  Now that I've got more time at nights I'll have to go at it during the week a little more now too.

-A

No comments:

Post a Comment