Activities/Turtle in a Pond: Difference between revisions

Line 126: Line 126:
</pre>
</pre>


In the '''default strategy''', a weighting function is used: preference is given to dots closer to the edges.
In the '''default strategy''', a weighing function is used: preference is given to dots closer to the edges.
<pre>
<pre>
def _turtle_strategy(self, turtle):
def _turtle_strategy(self, turtle):