Will require thought. I want to add some kind of food to simulate the way real slime molds work. How to implement??? How do real slime molds do it?
[ ] add bool to agents to denote if they are carrying food or not
[ ] add functionality for agents carrying food to lay a different kind of pheromone trail
[ ] add a way to designate parts of the play area as 'food' and 'home'
[ ] when an agent encounters food or home they should turn 180* around and toggle their food flag
The idea here is when an agent encounters food, it will turn around and start following its own trail back, while leaving a stronger pheremone trail behind it. It will tend to find its way back to where it started (the 'home' area, maybe even just a pixel). This will make a more compelling trail between the food and the spawn and hopefully give some interesting behavior
Also, consider an anti-food that makes pheromone trails WORSE
Will require thought. I want to add some kind of food to simulate the way real slime molds work. How to implement??? How do real slime molds do it?
The idea here is when an agent encounters food, it will turn around and start following its own trail back, while leaving a stronger pheremone trail behind it. It will tend to find its way back to where it started (the 'home' area, maybe even just a pixel). This will make a more compelling trail between the food and the spawn and hopefully give some interesting behavior
Also, consider an anti-food that makes pheromone trails WORSE