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 13:24, 30 November 2011
3 bytes added
,
13:24, 30 November 2011
→Strategy
Line 100:
Line 100:
There are some resources that you can use in your program, including:
There are some resources that you can use in your program, including:
−
;CIRCLE: a 2x6x2 array of offsets that can used to find the
col
and row of the dots surrounding the turtle.
+
;CIRCLE: a 2x6x2 array of offsets that can used to find the
column
and row of the dots surrounding the turtle.
;self._dots: the array of dots.
;self._dots: the array of dots.
;self._pressed: the index of the most recent dot pressed by the user
;self._pressed: the index of the most recent dot pressed by the user
Walter
Bureaucrats
,
Administrators
10,533
edits