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 15:56, 2 December 2011
116 bytes added
,
15:56, 2 December 2011
→Strategy
Line 150:
Line 150:
return [column, row]
return [column, row]
+
===Resources===
There are some resources that you can use in your program, including:
There are some resources that you can use in your program, including:
Line 160:
Line 161:
;self._grid_to_dot((column, row)): returns the dot that is at a grid position (column, row)
;self._grid_to_dot((column, row)): returns the dot that is at a grid position (column, row)
;self._dot_to_grid(dot): returns an array (column, row) representing the grid position of a dot
;self._dot_to_grid(dot): returns an array (column, row) representing the grid position of a dot
+
+
===Digging deeper===
+
To better understand how to use the above resources, view the program source,
=== Where to get Turtle in a Pond ===
=== Where to get Turtle in a Pond ===
Tonyforster
2,486
edits