Sunday, March 22, 2015

week 10, end of assignment 2 and the start of assignment 3

    Due to the TA strike, the release of our A2 mark is postponed to sometime in the future. Eventual there is a few unit-test for us to use to test our minimax strategy but the precise mark isn't down yet, but this won't stop the arrival of A3 as it is posted this Tuesday. In this blog i will be mainly be talking about A3 since this is what we discussed in this week's lecture.
    In A3 we are given two options on the continue study of computer game strategies. In option A, we are asked to implement three optimizations on our minimax strategy in A2, so for those who didn't finish/understood minimax when working on A2, there is a option B for you. The three optimizations are memorization, pruning, and myopia. For memorization, we need to optimize the strategy to remember the game state that they have run through before. For example, in a game of substractsquare, if minimax have already run through the result of the game state with current number 5, then as it go through the same game state, it would just return the result that is already checked before. The second optimization is pruning, which is asking us to optimize our code so that it only investigate the move that would change the result. Furthermore, myopia, this optimization will limit how far minimax looks ahead of the game, and this is where the method rough_outcome comes into work.
    Next, we will be talking about the second option which asks us to investigate the space of game sequences. In this option we will investigate statistics such as how many game states and final game states are there? Also, we need to know the redundancy (i.e portion of the game that is repetitive) which is strongly related to the first optimization we need to do in option A, memorization.
    To conclude, i think my team would all vote doing option B (including me) because at least for now i don't understand what should be done in the second optimization for option A pruning. Also, in A2 i have been struggling with minimax too much which at the end gave me a "fear" if i see it crash again.

No comments:

Post a Comment