RoboBlocky
Sign In
Learning Math/CS/Engineering Design with Robotics
Grid Size: S M L Simple View: MinView:

Using your code from Lesson 8.13, add three new parameters to the drawFish function, named red, green, and blue. Modify the "fillColor" code block in the function so that it uses the "hex color with" code stub instead of the color menu. Then add function calls to your program to draw two or more fish with different colors. Remember that the hex color values run from 00 to FF and are treated as text, not numbers, so you function calls must use the text value stub (found in the Text tab menu):

See the hint if you get stuck, and don't forget to save your work to the cloud in an xml file named "YourName_Lesson8.14a"!

Piano
Workspace Load Save Ch Ch Shell Console
Lock
roboblockyA864.ch
Time