Open Wxalex98 opened 10 years ago
How it should be called from the main code?
Dodge, for example El 01/12/2013 16:45, "angel-manuel" notifications@github.com escribió:
How it should be called from the main code?
— Reply to this email directly or view it on GitHubhttps://github.com/angel-manuel/COSMOSpheres/pull/35#issuecomment-29575969 .
I don't understand
LOL sorry, i misunderstood the question xD. It should be predict_kamikaze(), but I think i'll create a void later just for dodging to let the main file directly access the code in case of problems.
OK, i am willing to test this.
@Salok We can use both counter strategies depending on the place where we're being attacked, Example: If we're in the debris field, we use yours and if we're in the items we use mine. Or something like that, i guess.
Added dodge, push and main alternPos with a default escape target. Forget about the kamikaze detecting part, salok's one is better. I made this pull request for making the program easier to improve with both files.