Open an-OK-squirrel opened 9 years ago
We should calculate the best angle and then find the closest food cluster/item/megacluster in that angle.
Both are good ideas.
I can't figure out how to use the angle function already there :( How would you calculate distance to enemy? Distance to the closest enemy?
Closest, yes.
Could you take a look at the angle functions and see how they work? I'm interested in using them but can't figure them out
Does it have trig?
Probably.
Not doing it.
let's rewrite it
Ok :P
:palm_tree:
Going to be gone for two days watching things explode and whatnot ('MURICA).
If this isn't finished by the time I get back, I can do it. ;)
According to WIRED: Flying controversial technology through explosions. 'MURICA.
Today's actually one of the days I completely get free :P
Cool!
Will do tomorrow. Got to go watch more things explode soon.
'xplosions? Cool!
Hmm... Didn't realise how much trig was going to be involved.
Anyone up for a game of assignee hot potato?
my brain does not want to do trig in the summer. at least stats don't require trig :P (I hope!)
If you tell me what angles you want to find, I can implement the trig functions.
Stat's don't as of right now.
NUUUUUU'UU!!! DO'NT YO'U DA'RE ADD APOSTROPHE'S WHE'RE TH'EY ARENT NEED'ED!!!!! I'T MAK'ES M'E VER'Y A'NGRY!!! WHA'T YO'U JU'ST SA'ID WA'S "Sta't i's d'o no't a's o'f rig'ht no'w."
AAAAAAARRRGGHHHHHHHHHHIEWOPOIPQPHIOZMKL;VZCKL;MAPJI!!!1!!!!!!!!1!!!1!
Your kind and fellow programmer, @PullJosh.
So'rry ab'out t'hat... :3
N'O NE'ED T'O BE SO'RRY.
EXTERMINAT'E HI'M.
@Firedrake969 (Grammar fixed by @an-OK-squirrel)
REVENG'E I'S MIN'E (chec'k th'e rep'o descriptio'n)
:'3 AHAHA
11, but better. Here's my idea:
Food value = distance + food size ^ 2 - distance to enemy (tweaking is needed, i know. But pretty good, right?)