Open
Description
Info tab says "If agents don’t have enough same-color neighbors, they move to a nearby patch. "
and yet the code is
; move until we find an unoccupied spot
to find-new-spot
rt random-float 360
fd random-float 10
if any? other turtles-here [ find-new-spot ] ; keep going until we find an unoccupied patch
move-to patch-here ; move to center of patch
end
Metadata
Metadata
Assignees
Labels
No labels