I am doing Greeps just for fun, and not part of a competition, but I can't figure something out. My greeps carrying tomatoes always get stuck on water. How can I fix this?
Regardless of whether it's just for fun or part of a competition, we discourage posting about Greeps because it is used in classroom competitions and we don't want code or even ideas to be available. The idea with Greeps is that it's a solo exercise - you think about how to adjust the Greep behavior yourself.
Follow the logic in your own code. What happens when a Greep carrying a tomato hits the edge of a body of water? How does it react? What direction is it facing after act() is called? What will happen when act() is called again? How can you improve this?
I've removed the code from your post above. Again, please don't post Greeps code or strategies publicly.