CI 1
Model was written in NetLogo 6.2.2
•
Viewed 55 times
•
Downloaded 0 times
•
Run 0 times
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 [ supplies ] globals [ international-support ] to setup clear-all setup-patches setup-russians reset-ticks end to go if ticks >= 100 [stop] resupply combat check-death tick end to setup-russians create-turtles number-russians [ setxy random-xcor random-ycor ] ask turtles [ set color black ] ask turtles [ set supplies 20 ] set international-support [ 100 ] end to setup-patches ask patches [ set pcolor green ] end to combat ask turtles [ forward 1 right random 360 set supplies ( supplies - ( ( ( ( mil-assistance-to-ukraine * 3 ) + random 5 ) ) + ( 10 * us-military-in-ukraine ) ) ) ] end to check-death ask turtles [ if supplies <= 0 [die] ifelse show-supplies? [ set label supplies ] [ set label "" ] ] end to resupply ask turtles [ set supplies ( supplies + ( 30 - ( sanctions * ( 1 + sanctions-enforcement / 5 ) ) ) ) ] if ( random 12 ) >= ( 7 + sanctions ) [ create-turtles ( 6 - sanctions ) [ set color black set supplies ( 20 - sanctions ) setxy random-xcor random-ycor ] ] end
There is only one version of this model, created 7 months ago by eosin chelius.
Attached files
File | Type | Description | Last updated | |
---|---|---|---|---|
CI 1.png | preview | Preview for 'CI 1' | 7 months ago, by eosin chelius | Download |
This model does not have any ancestors.
This model does not have any descendants.