This week Sara and I did a challenge to make the robot turn in a square.
This is the instructions we were given
Step 1 : Go Forward 25 cm
Step 2 : Turn left 90 degrees
Step 3 : Repeat steps 1 and 2 three more times
This is a sample of our code we used below.
We tried a few times but the robot failed to turn the correct angle so we adjusted the code a few more times.
We changed the angle by little bit more each time until we had the correct code to make it work.
It was really fun trying to make the robot turn in a square, I enjoyed it so much I can’t wait until the next coding lesson.