Wednesday, 25 March 2015

Revisit of Week 4 SLOG

While writing my week 4 SLOG (topic: impression of the first few weeks of the course), I discussed the topics of writing classes, and writing the important methods that are needed for classes, and subclasses. While I was learning this for the first time, and trying to understant what "self" actually meant (becasue at the time it seemed so anstract), I found it a bit difficult to understand. However, since the beginning of the year I was required to write so many classes for different topic including: recursion, trees, BST's and so on, that now implementing all of these methods seem secornd nature to me. I find that I no longer need to over think the implemetation of methods and focus on implementing the functions in the class to perform the desired action.

While working on my first assignement, I mentioned in my week 4 SLOG that I had originally had difficulty understanding how the game was supposed to run, and what exactly I was supposed to do. But after I got over the initial problems in assignement 1, I found I was able to complete assignment 2 quicker, which was a sequal to assignement 1 in which we were taking our game a step forward and designing a strategy for the coputer to use while playing. This strategy was however, painstakingly slow so in assignemnt 3 we will focus on coming up with a strategy to make the strategy run quicker!

No comments:

Post a Comment