[Music]
So we're going to do a similar process using the Design and Engineering Process.
So our challenge is, how do we use a robot, so that it can knock this ball off this cup?
I think we should do something like that.
Four [inches] for the cup.
How about we get the LEGO platform and we make a track for her?
Okay, so another five [inches].
...14 millimeters.
So that's this one.
We are going to be developing algorithms today using music.
Okay, what song are you going to make?
Yeah, there you go.
Let's play a game of rock paper scissors.
Rock paper scissors, shoot!
How can we train our micro:bit to be the computer version of rock paper scissors?
Pur it on "Button A Press."
Rock, paper, scissors, shoot!
Oooooh, it beat me.
Rock, paper, scissors, shoot!
Rock!
It beat you again!
...rechargeable battery, and what was the last one?
(Unintelligible)
Your five challenges; what does your robot need to be able to do, and how does it need
to be built to complete those five challenges?
[Music]
We've been trying to do the same code, but every time it adjusts slightly.
Maybe use like a "delay" in between?
There's no "delay."
There's no "delay‽"
See, there is a "delay."
Oh, there is a "delay‽"
Activate!
It works, so now we can add it on to the code.
Now it looks better.
I... am... a...
Python bomber.
(Laughs)
This all works. You're killing me.
[Music]
I won't give you this one on the FRQ of the Unit 3 test.
This is complicated; it's meant to be.
Let's go around and do a presentation.
The two conditions that, like, you check together are if B and A are close, and if...
So it asks you if one is close and the other is far.
If one of these [is] true, then it goes one by one; it checks if A is greater than both
numbers, and if that's true, then it checks if A minus B equals 1 or A minus C equals 1.
[Music]
(Unintelligible)
You essentially just follow the line; go from here to here, and then from here to here.
70 [centimeters]?
Yeah, 70.
Yeah, have it do the circle 10 times.
The final X is 60, the final Y is 1, the final heading is 0.06.
So not a big change.
It's really not that big.
Okay.