Wealth Transfer

Wealth Transfer preview image

1 collaborator

Jm1_vsm James Millington (Author)

Tags

(This model has yet to be categorized with any tags)
Visible to everyone | Changeable by everyone
Model was written in NetLogo 6.4.0 • Viewed 23 times • Downloaded 0 times • Run 0 times
Download the 'Wealth Transfer' 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

turtles-own [ wealth ]

to setup
  ca
  reset-ticks
  print ticks    ;optional for viewing
  crt n
  ask turtles
  [
    set wealth 1
    show wealth   ;optional for viewing
  ]
end 

to go
  print ticks + 1     ;optional for viewing
  ask turtles
  [
    wealth_transfer
  ]
  tick
  if ticks = steps [stop]
end 

to wealth_transfer
  ask one-of turtles [ set wealth [wealth] of self + 1 ]
  set wealth wealth - 1
  show wealth    ;optional for viewing
  if wealth = 0 [die]
end 

There is only one version of this model, created 2 days ago by James Millington.

Attached files

File Type Description Last updated
Wealth Transfer.png preview Preview for 'Wealth Transfer' 2 days ago, by James Millington Download

This model does not have any ancestors.

This model does not have any descendants.