Open main menu
Home
Random
Log in
Settings
About Sugar Labs
Disclaimers
Sugar Labs
Search
Changes
← Older edit
Newer edit →
Activities/Turtle in a Pond
(view source)
Revision as of 12:48, 30 November 2011
33 bytes added
,
12:48, 30 November 2011
→Strategy
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):
Walter
Bureaucrats
,
Administrators
10,579
edits