Wednesday, March 23, 2016

Week 10 (Thoughts on this week)

For this week's lectures, we learned about algorithms for sorting lists. The first sorting method I ever learned in python was .sort() which would order items in a list according to its value (from lowest to highest), or its string (from a to z). For this week's lab, we had to implement different methods to sort a list, some of which was done recursively.

More importantly, for this week, our second and final assignment was due. The assignment consisted of several puzzle game classes which all shared a base puzzle class a puzzle tools class. Since most of the coding was already done for us, we were only required to code the extensions and the fail fast methods for each game. Though we weren't required to do so, I was able to code some of  the methods within the puzzle tools recursively. Overall, our program runs without error which I am satisfied for.

No comments:

Post a Comment