SharksAndFish

#Agent Story# There is a world which is the ocean. The ocean has many agents that move randomly on it. There are two main agents: Sharks and Fish. There are other agents such as People, Fish Boats, and Hunters. There are agents which are called spawner agents (agents that spawn other agents) and they are the coral reef, the sea cave, and the beachfront. And finally there are factors that affect how agents behave in the world. Factors are more or less constants which change "constantly" and affect the model depending on what state the factor is in. #Agent Rule 1. If you see yourself as a Fish, then move random on world. 2. If you see yourself as a Shark, then move random on world. 3. If you see yourself as a Person, then move random on world. 4. If you see yourself as a Fish Boat, then move random on the world. 5. If you see yourself as a Guardian, then move random on world. 6. If you see yourself as a Fish next to at least one shark, then erase yourself. 7. If you see yourself as a Fish next to at least one person, then move randomly three blocks. 8. If you see yourself as a Fish and you have reached a certain age, erase yourself. 9. If you see yourself as a Fish next to another Fish, then you have a chance to create a new Fish. 10. If you see yourself as a Fish, set your value (fish) to 100. 11. If you see yourself as a Fish next to at least 2 pollution clouds, then erase yourself. 12. If you see yourself as a Fish next to a Fish Boat, then erase yourself 13. If you see yourself as a Shark next to at least one Guardman, then erase yourself. 14. If you see yourself as a Shark next to at least one pollution cloud, then erase yourself. 15. If you see yourself as a Shark next to another Shark, you have a chance to create a new Shark. 16. If you see yourself as a Shark and you have reached a certain age, then erase yourself. 17. If you see yourself as a Shark, then find the scent "fish" and follow it. 18. If you see yourself as a Person and have reached a certain staying period, then erase yourself. 19. If you see yourself as a Person next to at least one pollution cloud with a certain percent chance, then erase yourself. 20. If you see yourself as a sea cave, with every few seconds, you have a chance to create a new Shark. 21. If you see yourself as a coral reed, with every few seconds, you have a chance to create a new Fish. 22. If you see yourself as a beach front, with every few seconds, you have a chance to create a new Person. 23. If you see yourself as a Fish Boat next to a Shark, you have a percent chance to create a new Fish. 24. If you see yourself as a Pollution cloud, then move random on world. 25. If you see yourself as a Fish Boat, with every few seconds, you have a chance to produce a pollution cloud. 26. If you see yourself as a Pollution Cloud at a certain age, then erase yourself. 27. If you see yourself as a Fish on the Beachfront, erase yourself 28. If you see yourself as a Shark on the Beachfront, erase yourself 29. If you see yourself as a Trash, stay in place 30. If you see yourself as a Trash next to at least one guardsman, erase yourself 31. If you see yourself as an Entangled Fish, stay in place 32. If you see yourself as a Fish next to at least one trash, change into an Entangled Fish 33. If you see yourself as an Entangled Fish next to at least one Guardman, change into a Fish #Other Information ##What am I modeling? I am trying to model an accurate representation of life in the ocean. The sharks do chase the fish and will eat them. Fish are scared when a person/human is nearby. Fish Boats do attract Sharks when they throw out Fish. I tried to make this extremely accurate and it looks better than I expected. I added real problems that affect the ocean today such as pollution and trash. ##What could I have added? I could have have added a tide factor which would have shifted the location of many of my agents. It would seem like it would be some type of diffusion effect added to the model. I also wanted to add more types of predators such as piranha's and whale's and add more types of prey such as shrimp or crabs. I may be able to do that later when I have some free time.
Data
Created:June 19, 2017
Played:72
Agent:11
Rules:41
Methods:11
false
Settings
New Project Name
Rename
Copy
Download
Show Project Report
Flag Project
Delete
#Agent Story# There is a world which is the ocean. The ocean has many agents that move randomly on it. There are two main agents: Sharks and Fish. There are other agents such as People, Fish Boats, and Hunters. There are agents which are called spawner agents (agents that spawn other agents) and they are the coral reef, the sea cave, and the beachfront. And finally there are factors that affect how agents behave in the world. Factors are more or less constants which change "constantly" and affect the model depending on what state the factor is in. #Agent Rule 1. If you see yourself as a Fish, then move random on world. 2. If you see yourself as a Shark, then move random on world. 3. If you see yourself as a Person, then move random on world. 4. If you see yourself as a Fish Boat, then move random on the world. 5. If you see yourself as a Guardian, then move random on world. 6. If you see yourself as a Fish next to at least one shark, then erase yourself. 7. If you see yourself as a Fish next to at least one person, then move randomly three blocks. 8. If you see yourself as a Fish and you have reached a certain age, erase yourself. 9. If you see yourself as a Fish next to another Fish, then you have a chance to create a new Fish. 10. If you see yourself as a Fish, set your value (fish) to 100. 11. If you see yourself as a Fish next to at least 2 pollution clouds, then erase yourself. 12. If you see yourself as a Fish next to a Fish Boat, then erase yourself 13. If you see yourself as a Shark next to at least one Guardman, then erase yourself. 14. If you see yourself as a Shark next to at least one pollution cloud, then erase yourself. 15. If you see yourself as a Shark next to another Shark, you have a chance to create a new Shark. 16. If you see yourself as a Shark and you have reached a certain age, then erase yourself. 17. If you see yourself as a Shark, then find the scent "fish" and follow it. 18. If you see yourself as a Person and have reached a certain staying period, then erase yourself. 19. If you see yourself as a Person next to at least one pollution cloud with a certain percent chance, then erase yourself. 20. If you see yourself as a sea cave, with every few seconds, you have a chance to create a new Shark. 21. If you see yourself as a coral reed, with every few seconds, you have a chance to create a new Fish. 22. If you see yourself as a beach front, with every few seconds, you have a chance to create a new Person. 23. If you see yourself as a Fish Boat next to a Shark, you have a percent chance to create a new Fish. 24. If you see yourself as a Pollution cloud, then move random on world. 25. If you see yourself as a Fish Boat, with every few seconds, you have a chance to produce a pollution cloud. 26. If you see yourself as a Pollution Cloud at a certain age, then erase yourself. 27. If you see yourself as a Fish on the Beachfront, erase yourself 28. If you see yourself as a Shark on the Beachfront, erase yourself 29. If you see yourself as a Trash, stay in place 30. If you see yourself as a Trash next to at least one guardsman, erase yourself 31. If you see yourself as an Entangled Fish, stay in place 32. If you see yourself as a Fish next to at least one trash, change into an Entangled Fish 33. If you see yourself as an Entangled Fish next to at least one Guardman, change into a Fish #Other Information ##What am I modeling? I am trying to model an accurate representation of life in the ocean. The sharks do chase the fish and will eat them. Fish are scared when a person/human is nearby. Fish Boats do attract Sharks when they throw out Fish. I tried to make this extremely accurate and it looks better than I expected. I added real problems that affect the ocean today such as pollution and trash. ##What could I have added? I could have have added a tide factor which would have shifted the location of many of my agents. It would seem like it would be some type of diffusion effect added to the model. I also wanted to add more types of predators such as piranha's and whale's and add more types of prey such as shrimp or crabs. I may be able to do that later when I have some free time.
Edit Description
Design