Sunday, March 22, 2015

Week 10: Impression of week 9 and week 10

In week 8, we have discussed about what is a wrapper class and the function of it. To understand the concept of wrapper class well, we also have talked  about how to use a wrapper function in real class writing, for instance, writing a LinkedList class, which is a wrapper function of LLNode classes and understanding how walk along in it. 

In week 9, we make a further discussion about wrapper class, which is how to write a seen a BTNode as a wrapper class and rewrite several basic functions in it.



In week 10, Danny helped us analyzing strategies of our assignment 2 and introduced some new ideas to make our assignment 3 into a further step, which is help computer decreasing useless consideration and repeated steps.  The first step, which I think it's useful, for us is to understand the function of strategy and make it delicate is to draw a tree of whole possible moves of subtract square game between two players. After drawing whole tree of possible moves in subtract square game, I found that there are some repeated game state during this game which will come to a fixed ending for each of two players,which means we can tell computer do not run these repetitive so that it can save run times of the class.

No comments:

Post a Comment