Thursday, April 11, 2013

Week of March 31

This week we started playing with the GridWorld lab, where a grid would appear and you could interact with it in order to place bugs, rocks, and actors onto the field.  All these different drop down options were the actual different classes of the program that were made. Some examples of these classes were like the move() method and the turn method where you could turn the bug 45 degrees to the right and move the bug forward one step. Every time the bug moved forward it would leave a little flower in its trail and would darken after time. This program was really fun to use because we had the oppurtunity to both enjoy it and place like a million bugs onto the grid to see what would happen, and we also learned about how the different classes interacted with each other to create this alter world that had bugs and flowers and rocks and everything. Rocks were cool because if the bugs ran into any of them they would keep turning 45 degrees until it could continue going forward and would do so. We also started retroBug, a lab that was based off of bug but one that we personally wrote. This was a little more challenging because I'm really bad at freewriting java. Hopefully I"ll be able to improve though because although I'm not taking the AP test for computer science, I still find it somewhat interesting and I'll still try to learn what I can from the limited knowledge I already know and what we are taught the rest of the year, before and even after the AP.

No comments:

Post a Comment