Sunday, 15 March 2015

Week 9: Impressions of week 8

Week 9: Impressions of week 8


This week's main topic was linked lists.  Because of the nature of these, it seems like we diverged from recursion for a bit, as the only way I saw them being dealt with in class was iteratively,  These seem rather simple, although I'm unsure of what their use is, and as to what their advantage is over a regular list.  The linked list reading seems to say that their advantage is in their recursive structure, but why does that matter if we only deal with them without recursion?

The other major CSC148 event of the week is the due date for assignment 2.  My group and I expected this to be a simple short assignment, but thins got difficult quite quickly.  In total we spent about 2 hours on the tippy game state class and tippy move class, and then 6 hours working on the minimax strategy alone.  Even though it was only 20 lines or so of actual code,  it was a very tough problem for us to complete.  The concept of this strategy was very interesting, but also very difficult to get our heads around.  In the end we completed it through the use of "don't think about it too hard, just do what makes sense and let the recursion work its magic" and it worked out for us.

No comments:

Post a Comment