break into 3 categories. 1. relationships dependent on garden cache. 2. Friend list is defined by AND commands "if garden cashe includes carrot, tomato. display friend list from carrot AND tomato." Enemy list defined by OR commands " if carden chashe includes carrot, tomato. display enemy list from carrot OR tomato." I think for now treating all enemies and friends as equally bad and good is acceptable. I do think it would be very usefull to move to a numerical system of measurement so we can average plots. friend = +1, enemy = -1. so for instance if we have a garden with 4 tomato enemies. tomato has a score of -4. if we had a plot with 4 tomato enemies and 2 tomato friends tomato has a score of -2. A score system would also help us calculate how far to plant away from eachother. I see a split here. one function that averages out plant relationships to spit out a friends/enemies list. and one function that calculates distance in units
break into 3 categories. 1. relationships dependent on garden cache. 2. Friend list is defined by AND commands "if garden cashe includes carrot, tomato. display friend list from carrot AND tomato." Enemy list defined by OR commands " if carden chashe includes carrot, tomato. display enemy list from carrot OR tomato." I think for now treating all enemies and friends as equally bad and good is acceptable. I do think it would be very usefull to move to a numerical system of measurement so we can average plots. friend = +1, enemy = -1. so for instance if we have a garden with 4 tomato enemies. tomato has a score of -4. if we had a plot with 4 tomato enemies and 2 tomato friends tomato has a score of -2. A score system would also help us calculate how far to plant away from eachother. I see a split here. one function that averages out plant relationships to spit out a friends/enemies list. and one function that calculates distance in units