Coding Dash to Launch Projectiles!

posted May 12, 2016, 6:15 PM by Patrick Johnson   [ updated May 12, 2016, 6:27 PM ]
Today students participated in another coding activity with our robot Dash. This time, a ball launcher was mounted on top of Dash. Dash and the launcher can both be coded on the iPad using the Blocky App. The goal was to code Dash to navigate around obstacles on a hundred's mat then fire the launcher towards stacked cups.

Students were given the task below:

Students were also given a grid to help plan out their code. They were told that each square corresponded to 20 cm of movement in the Blocky Coding App. 

Students then tested their code using Dash and the launcher. They were given up to 3 attempts to try their code. Between each attempt students modified their code based on their observations from the previous test.