I was thinking...
Since the dist command does require a lot of complex calculations, is it the right thing to do ?
Or maybe use eye5 as its results isn't neither straightforward too (the closer the faster the number increases)
Well I'm not sure but i got these values from a starting cell
Still i got the problem of growing size of cells.. well eye5 grows with it maybe it solves it.
I collected from a test bot, using a lot of my time the following results
They are as abest as i could get it but I'm sure its not 100% correct. (90% at best)
dist eye5 shootval
1600 1 -32
1375 2 -14
1034 3 -9
989 4 -7
904 5 -6
830 6 -5
Then I found Eureqa some kind of free math formula finding program
It really is amazing it can find formulas behind data sets... (so we require less scientists ??)
It does not have als darwinbots calculation options, no binary operators but a lot of others, so i had to limit it down.
Aldo couldn't use cos and sin functions.
It turned out that eye5 had a more easy relation to this then the distance value, resulting formula's looked better.
Now based on the eye5 valeu it found the folowing relation between shootval :
A lot depend on how accurate my values are .. and thats a bit of problem i just tried to do my best here.
Well the program found these relations between eye5 :
]f(v) = 21.6136/(0.298103 - eye5) - 1.21081
or
f(v) = 25.0438/(0.217382 - eye5)
But now i wonder, can i type these numbers into darwinbots?
Or does it only work wit rounded integer valeus ??