14
14
15
15
# The spatial rock-paper-scissors (RPS) is an ABM with the following rules:
16
16
17
- # * Agents can be any of three "kinds" : Rock, Paper, or Scissors.
17
+ # * Agents can be any of three types : Rock, Paper, or Scissors.
18
18
# * Agents live in a 2D periodic grid space allowing only one
19
19
# agent per cell.
20
20
# * When an agent activates, it can do one of three actions:
@@ -236,7 +236,7 @@ nagents(model)
236
236
237
237
function terminate (model, t)
238
238
threshold = 1000
239
- # # Alright, this code snippet loops over all kinds ,
239
+ # # Alright, this code snippet loops over all types ,
240
240
# # and for each it checks if it is less than the threshold.
241
241
# # if any is, it returns `true`, otherwise `false.`
242
242
logic = any (alltypes) do type
@@ -261,7 +261,7 @@ abmtime(model)
261
261
262
262
# Hence, data collection also works almost identically to [`StandardABM`](@ref).
263
263
264
- # Here we will simply collect the number of each agent kind .
264
+ # Here we will simply collect the number of each agent type .
265
265
266
266
model = initialize_rps ()
267
267
@@ -324,7 +324,7 @@ abmvideo("rps_eventqueue.mp4", model;
324
324
# with the [`abmexploration`](@ref) function!
325
325
326
326
# Let's first define the data we want to visualize, which in this
327
- # case is just the count of each agent kind
327
+ # case is just the count of each agent type
328
328
329
329
model = initialize_rps ()
330
330
fig, abmobs = abmexploration (model; adata, alabels, when = 0.5 , plotkw... )
0 commit comments