Activities/Turtle in a Pond: Difference between revisions

Line 31: Line 31:
</pre>
</pre>


In this strategy, the turtle moves down until it is blocked.
In this strategy, the turtle moves down until it is blocked (i.e., when the dot type s True).
<pre>
<pre>
def _turtle_strategy(self, turtle):
def _turtle_strategy(self, turtle):