Recently as part of the start of a unit of inquiry that looked at coding in the homeroom I organised an introduction to scratch code in PE. Students had also just been looking at angles in maths lessons, which was fairly important.
In the PE class I put out coloured cones either side of the playground. In pairs the students had to write their code to get from one side to the other, eg, red cone to red cone. They paced out their route, worked out when to turn and how much etc. and recorded this on the template.
We talked about the importance of testing code, before releasing video games, and they all were super excited at the thought that some people test games as a job! This spilled over to the activity where they spent more time than I imagined testing with their partner. One person was blindfolded and the other person walked next to them and read out the code. They modified the code as needed.
When they were happy with their code they then swapped sheets with another group and tried out their code - again 1 blindfolded, 1 reading the code. The follow up lessons with the homeroom teacher was then using scratch on the computers to make the character move around.
No comments:
Post a Comment