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 17:39, 30 November 2011
36 bytes added
,
17:39, 30 November 2011
→Strategy
Line 64:
Line 64:
<pre>
<pre>
+
def _turtle_strategy(self, turtle):
dots = self._surrounding_dots(turtle)
dots = self._surrounding_dots(turtle)
for i in range(6): # search for an opening
for i in range(6): # search for an opening
Walter
Bureaucrats
,
Administrators
10,533
edits