tug-of-war

tug-of-war preview image

This model is seeking new collaborators — would you please help?

1 collaborator

Default-person John Phelps (Author)

Tags

(This model has yet to be categorized with any tags)
Part of project 'Intro ABM Summer 2017'
Visible to everyone | Changeable by everyone
Model was written in NetLogo 6.0.1 • Viewed 470 times • Downloaded 42 times • Run 0 times
Download the 'tug-of-war' 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 [ skins skin ]
breed [ shirts shirt ]

to setup
  clear-all
  create-skins skins-team [
    set shape "left-tugger"
    set color red
    set size skins-strength
    setxy  ( random  ( min-pxcor + 2 ) - 2 ) 0
  ]
  create-shirts shirts-team [
    set shape "right-tugger"
    set color blue
    set size shirts-strength
    setxy ( random ( max-pxcor - 2 ) + 2 ) 0
  ]
  draw-rope
  reset-ticks
end 

to draw-rope
  ask skins [ create-link-to one-of shirts ]
  ask shirts [ create-link-to one-of skins ]
  ask links [ set color white ]
end 

to go
end 

There are 2 versions of this model.

Uploaded by When Description Download
John Phelps over 7 years ago Info doesn't show up on web page Download this version
John Phelps over 7 years ago Initial upload Download this version

Attached files

File Type Description Last updated
tug-of-war.png preview Preview for 'tug-of-war' over 7 years ago, by John Phelps Download

This model does not have any ancestors.

This model does not have any descendants.