In this project, you will create a program that allows your robot to trace out the letters of your name by defining each letter as a function. These functions will contain the specific instructions for driving the robot in a pattern that forms the shape of each letter. The main part of your program will call each letter function in sequence to spell out your name.
On the app, I want you to use the "Functions" block to create functions for each letter.
If you forgot what functions are, a function is a reusable block of code that performs a specific action. Instead of writing the same instructions over and over, you wrap those instructions inside a function and give it a name. Then, whenever you want the robot to perform that action, you simply “call” the function.
For example, if you create a function called MakeLetterA, all the movement blocks needed to draw the letter “A”- forward motion, turns, pauses, etc. - will live inside that function. Later, in your main program, you can call MakeLetterA just by dragging in a single block. This keeps your code clean, organized, and easy to modify.
Letter functions defined:
Accuracy of letters:
Spells out name:
Total:
40%
40%
20%
100%
When you are ready to submit your project, submit your code and pictures of your project to Google Classroom under Name
YOU MUST SHOW ME YOUR PROJECT BEFORE YOU SUBMIT IT!