So, for a school project I need to get a rabbit to chase a butterfly and try to catch it with a net. I need the butterfly to move in a random motion. I am using the code for the goldfish from the book (Learning Program with Alice p. 170) as a reference. What I need is to know how to get the lines to read like this:
Do together
butterfly move up {Random number minimum = min Maximum = max}
butterfly move left {Random number minimum = min Maximum = max}
butterfly move forward {Random number minimum = min Maximum = max}
Obviously I know how to get the move up/left/fwd in there, what I can't figure out is how to get the random number min/max part to get in there. Anyone know how to?
All help is appreciated, and the sooner the better. (I have 8 more assignments to finish by the 16th.