Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ;; frägt jedes Daisy wie viel schwarze & wie viel weiße Daisynachbarn es besizt
- ask Daisies[
- ask patch-here[
- let n_whiteNeighbors sum [count turtles-here with [color = white]] of neighbors
- let n_blackNeighbors sum [count turtles-here with [color = black]] of neighbors
- show n_whiteNeighbors
- show n_blackNeighbors
- ]
- ]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement