There are many ways to tackle the challenge.
You might like to consider returning to this challenge when you
have found out about procedures. For now you might like to see how
you might use the REPEAT command.
Here are some ideas:
- Can you draw one rhombus?
- Can you write a single line of code that draws the two rhombi
joined together?
You can change the pencolour by using the command SETPC
followed by a number between 0 and 15.
Try drawing pairs of rhombi in different colours and in
different arrangements. For example, what does the following line
of code produce?:
RT 60 FD 40 RT 60 FD 40 RT 120 FD 60 LT 120 FD 20 LT 60 FD 20
LT 120 FD 60
Now, how are they connected?
What part does the colour play?
Could you repeat this pattern forever?
Would it be useful to be able to store some commands to
re-use? If so you need to learn about procedures.