Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
MCTIG
Viralitet
Commits
7106bcb8
Commit
7106bcb8
authored
Dec 06, 2019
by
Daniel Graungaard
Browse files
Fixed smaller things, going to try and use tables now
parent
b9479e84
Changes
1
Hide whitespace changes
Inline
Side-by-side
Viralitet.nlogo
View file @
7106bcb8
breed[videos video]
videos-own [emotionelt utrolige-evner nuttethed humor energi]
videos-own [emotionelt utrolige-evner nuttethed humor energi
completed-segments
]
patches-own [empati-præference humor-præference utrolige-evner-præference nuttethed-præference]
to setup
clear-all
reset-ticks
...
...
@@ -75,6 +75,7 @@ to setup
set energi 10 ; Dette er den mængde energi videoen starter med
set completed-segments (list)
set label-color green
set size 2
...
...
@@ -127,6 +128,10 @@ to go
])
if enegi > 50 [
move-to-next-segment
]
set label round energi
]
tick
...
...
@@ -150,6 +155,24 @@ to-report wall?
report patch-forward = nobody or gray = [pcolor] of patch-forward
end
to-report groups
report ["TOP RIGHT" "TOP LEFT" "BOTTOM RIGHT" "BOTTOM LEFT"]
end
to move-to-next-segment ; turtle method
end
to-report list-compare
end
@#$#@#$#@
...
...
@@ -205,7 +228,7 @@ CHOOSER
start
start
"TOP RIGHT" "TOP LEFT" "BOTTOM RIGHT" "BOTTOM LEFT"
2
3
BUTTON
117
...
...
@@ -241,23 +264,6 @@ NIL
NIL
1
BUTTON
757
440
1069
473
NIL
ask videos[show wall?]
NIL
1
T
OBSERVER
NIL
NIL
NIL
NIL
1
@#$#@#$#@
## WHAT IS IT?
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment