vv

vv preview image

1 collaborator

Tags

(This model has yet to be categorized with any tags)
Visible to everyone | Changeable by everyone
Model was written in NetLogo 6.3.0 • Viewed 29 times • Downloaded 2 times • Run 0 times
Download the 'vv' modelDownload this modelEmbed this model

Do you have questions or comments about this model? Ask them here! (You'll first need to log in.)


Comments and Questions

Please start the discussion about this model! (You'll first need to log in.)

Click to Run Model

breed [trees tree]
breed [lumberjacks lumberjack]

to setup
  clear-all
  reset-ticks

  ask patches [ set pcolor 33 ]

  create-trees 150 [
    set shape "tree"
    move-to one-of patches
    set color green
  ]

  create-lumberjacks 5 [
    set shape "person lumberjack"
    move-to one-of patches
  ]
end 

to go
  ask lumberjacks [
    move
    if any? trees-here [
      ask trees-here [ die ]
    ]
  ]
  tick
end 

to move
  left random 90
  right random 90
  fd 1
end 

There is only one version of this model, created 10 months ago by maryam eeeeeeeeeeee.

Attached files

File Type Description Last updated
vv.png preview Preview for 'vv' 10 months ago, by maryam eeeeeeeeeeee Download

This model does not have any ancestors.

This model does not have any descendants.