Activities/Reflection: Difference between revisions

No edit summary
 
(6 intermediate revisions by 2 users not shown)
Line 28: Line 28:
# the New-bilateral-game Button (start a new game to create a vertical reflective symmetry)
# the New-bilateral-game Button (start a new game to create a vertical reflective symmetry)
# an area for messages
# an area for messages
# the Activity-stop Button
# the Robot Button (the robot will help you make your pattern)
# the Stop Button


=== Programming challenges ===
=== Programming challenges ===
Line 37: Line 38:
=== Where to get Reflection ===
=== Where to get Reflection ===


The Reflection activity is available for download from the [http://activities.sugarlabs.org Sugar activity portal]: [http://activities.sugarlabs.org/en-US/sugar/addon/4517 Reflection]
The Reflection activity is available for download from the [http://activities.sugarlabs.org Sugar Activity Library]: [http://activities.sugarlabs.org/en-US/sugar/addon/4517 Reflection]


The source code is available on [http://git.sugarlabs.org/reflection the Sugar Labs Gitorious server].
The source code is available on [http://git.sugarlabs.org/reflection the Sugar Labs Gitorious server].
Line 55: Line 56:
# made a [[Activity_Team/Git_FAQ#How_do_I_create_a_new_project.3F|git repository]] for the new project
# made a [[Activity_Team/Git_FAQ#How_do_I_create_a_new_project.3F|git repository]] for the new project
# changed the [[Development_Team/Almanac/Activity_Bundles#.info_file_format|activity.info]] file to reflect the name of our new activity
# changed the [[Development_Team/Almanac/Activity_Bundles#.info_file_format|activity.info]] file to reflect the name of our new activity
# changed the [[Development_Team/Almanac/Making_Icons|activity icon]]
# created the [[Development_Team/Almanac/Making_Icons|activity icon]]
# changed the name of TurtlePondActivity.py to ReflectionActivity.py
# changed the name of TurtlePondActivity.py to ReflectionActivity.py
# changed the [[Development_Team/Almanac/sugar.activity.activity#How_do_I_create_a_new_activity_that_is_derived_from_the_base_Activity_class.3F|name of the Class]] defined in ReflectionActivity.py to <code>class ReflectionActivity(activity.Activity)</code>
# changed the [[Development_Team/Almanac/sugar.activity.activity#How_do_I_create_a_new_activity_that_is_derived_from_the_base_Activity_class.3F|name of the Class]] defined in ReflectionActivity.py to <code>class ReflectionActivity(activity.Activity)</code>
Line 69: Line 70:
We then created an [[Activity_Team#setup.py|XO bundle]], uploaded it to activities.sugarlabs.org and created this page in the wiki, about one hour of work.
We then created an [[Activity_Team#setup.py|XO bundle]], uploaded it to activities.sugarlabs.org and created this page in the wiki, about one hour of work.


For Version 2, we added [[Development_Team/Almanac/sugar.activity.activity#How_do_I_implement_a_write_file_method_for_my_activity_in_order_to_persist_my_activity_in_the_journal.3F|saving game state to the Journal]], added a few more game options, and collaborative play, an additional two hours of work.
For Version 2, we added [[Development_Team/Almanac/sugar.activity.activity#How_do_I_implement_a_write_file_method_for_my_activity_in_order_to_persist_my_activity_in_the_journal.3F|saving game state to the Journal]], added a few more game options, and collaborative play (by grabbing the collaboration code from [[Activities/Paths]]), an additional two hours of work.
 
For Version 3, we added a robot help function and better feedback for when you complete the pattern.


[[Category:Activity]]
[[Category:Activity]]
[[Category:Activities]]