Teachers, your challenge is to find 7 errors in the image below.
The modeler is trying to create 300 blue turtles shaped like spheres, and 100 red turtles, also shaped like spheres.
When the “run simulation” button is toggled, the turtles are supposed to move randomly around Spaceland, with a 15 degree “wiggle.”
GO!
The Challenge
Please put your answer in the comment section.
Winner
Here are the seven errors: (Did you find them all?)
1. Script on wrong page.
2. Forgetting to delete everyone before creating new agents.
3. Typing in a color or shape instead of using the color or built-in shape block
4. Putting a create block inside another create block.
5. Creating and using the wrong kind of widget button. Most likely the programmer intended to put these commands in a loop, which is a toggle widget.
6. Left and right turns canceling each other out (resulting in no change in direction) OR forgetting to use random block to simulate “wiggle walk”.
7. Forgetting to use scatter block.
Comments
3 trait drop downs need to be added
The create do needs to not be inside each other
add a when forever is toggles
Answer
also ad right by 15 and left by -15
Answer
add*
Answer
3 errors are typing the color/size into the boxes that only accept numbers.
Create 200 turtles is embedded in the created 300 turtles.
Answer
1: create block inside create block
2: set up should be in world
3 & 4: the words red and blue are typed in rather than using a trait block
5: the word sphere also needs a trait block
6: the red turtles also needs a trait block identifying the shape
7: need scatter block
Answer
The colors red and blue are typed
nesting
the word sphere is typed
No red shape turtle identified
Answer
they typed in the words for the colors instead of using the correct blocks
can't type the word sphere
the create 100 turtles should not be nested
the number forward should be random not 1
Answer
The shape for the red turtle is identified
Answer
shape trait for red turtles
Answer
the tab inserts for the colors were left out and aren't there supposed to in shape inserts too. The insert for the shape for the red was left out. Isn't there another kind of tab for "toggled" instead of pushed? There is something that is wrong with the wriggle too but not sure.
Answer
When setup pushed needs to be in the world.
When "Run Simulation" is TOGGLED, not pushed
Create 100 turtles (red) - needs to be separate from the 300 turtles.
set my color - needs a color block in both places - cannot type the color
set my shape - needs to be placed below the create 100 blue turtles block
set my shape - needs a shape block in both places - cannot type the shape.
Answer
1- Setup needs turtle code
2- Forever command needs to be after pushed code
3- Need direction of color and shape command
4- Command needed after run simulation
5- Movement code needs insertion to entire code
Answer
world setup
wiggle needs range
cant type in colors
scatter block
nesting issues
clear terrain
Answer
There is only 1 SET MY shape to Sphere.
Answer