Just Run it maxcolour can just be used to limit the random pen colour range as it's a 16bit colour range there are 16,777,216 possibilities If you want to see it go crazy enable Turbo Mode
At code club this week instead of using one of the pre prepared projects I just winged it trying to get all the kids through the steps.we used the pen to manually code how to draw shapes from 3 sides up to 5 sides manually we then expanded the code and used variables , maths and loops to get the computer to do all the hard work. After the class I stayed behind and messed with the code to create a random shape drawing program. I'll show the club members next week to see how I expanded the basic loop that we completed