Sunday, January 9, 2011
Blog Entry January 9: Reflection on Class
This week, we worked on GridWorld. GridWorld is really not hard for me. I managed to get the "Z-bug" after many tried attempts containing many, many lines of unnecessary code. The first thing I tried was just having one integer that would determine how the bug would move next. It worked, but was about 70 lines longer than it needed to be. It ended up needing an integer to tell it what side it was on. I finally got it to work, and my success made me very happy. One of the reasons i like programming are that when I achieve success after a lot of work, it makes me really proud. Although GridWorld doesn't make me think quite as hard as some of the labs have in the past, it's still interesting to challenge myself to get a desired outcome from a code.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment