Activity: World Cup Challenge

Do this on pencilcode.net

Show your team colours by making a national flag! The challenge is to choose your favourite team's flag and create it in Pencilcode, using mainly the slide, jump and pen path and fill commands.

For example, you may love Japan. Start with the flag outline:

pen black, 2
slide 100, 0
slide 0, 50
slide -100, 0
slide 0, -50

2. Now jump to the centre and add a big red dot:

jump 50, 25
dot red, 35


3. Finally, add a label:

jump 0, -50
label "Go Japan!"


Note: pen path and fill color can make a solid block of colour:

pen path
slide 100, 0
slide 0, 100
slide -100, 0
slide 0, -100
fill red
jump 50, 75
pen white, 20
slide 0, -50
jump -25, 25
slide 50, 0
jump -25, -75
label "Go Switzerland!"
ht()

Have a look at your favorite team flag... Go Australia!

Good luck! Contributed by E. Tomlins, Wahroonga Public School, Australia 2014