In order to make our zombie simulation more engaging and informative, we should consider tracking a variety of interesting statistics. It may be useful to determine which fields and classes should contain this information. This will help us to efficiently calculate and analyze the statistics as the simulation progresses. To get started, here are a few potential statistics that we could consider tracking:
Number of zombie infections: This could include the total number of zombies, as well as the number of infections that occur each day.
Survival rate: This could be calculated as the percentage of survivors (either human or zombie) at the end of the simulation.
Zombie attack rate: This could be calculated as the number of attacks (encounters) that zombies make on humans each day.
Average lifespan: This could be calculated as the average number of days that a human or zombie survives in the simulation.
Movement patterns: This could include data on the distance traveled by humans and zombies each day, as well as the direction and speed of their movement.
Group size: This could include data on the average size of human and zombie groups, as well as the number of groups that exist at any given time.
In order to make our zombie simulation more engaging and informative, we should consider tracking a variety of interesting statistics. It may be useful to determine which fields and classes should contain this information. This will help us to efficiently calculate and analyze the statistics as the simulation progresses. To get started, here are a few potential statistics that we could consider tracking:
Number of zombie infections: This could include the total number of zombies, as well as the number of infections that occur each day.
Survival rate: This could be calculated as the percentage of survivors (either human or zombie) at the end of the simulation.
Zombie attack rate: This could be calculated as the number of attacks (encounters) that zombies make on humans each day.
Average lifespan: This could be calculated as the average number of days that a human or zombie survives in the simulation.
Movement patterns: This could include data on the distance traveled by humans and zombies each day, as well as the direction and speed of their movement.
Group size: This could include data on the average size of human and zombie groups, as well as the number of groups that exist at any given time.
etc.