Discussion:
Need HawkonFire Code
funkyf1sh
2011-05-24 16:34:32 UTC
Permalink
Hi guys,

i would like to learn something more about minimal risk movement therefore i want to study the code of HawkonFire. But i cant get it. http://www.robocoderepository.com/ is down for a while now and all links from http://www.robowiki.net point at this page. So i thought it is a good idea to ask in this group if someone could give me the code to learn sth about minimal risk movement.

Thanks.




------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/Robocode/

<*> Your email settings:
Individual Email | Traditional

<*> To change settings online go to:
http://groups.yahoo.com/group/Robocode/join
(Yahoo! ID required)

<*> To change settings via email:
Robocode-***@yahoogroups.com
Robocode-***@yahoogroups.com

<*> To unsubscribe from this group, send an email to:
Robocode-***@yahoogroups.com

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
aliahmed
2011-05-25 00:33:06 UTC
Permalink
Post by funkyf1sh
Hi guys,
i would like to learn something more about minimal risk movement
therefore i want to study the code of HawkonFire. But i cant get it.
http://www.robocoderepository.com/ is down for a while now and all links
from http://www.robowiki.net point at this page. So i thought it is a
good idea to ask in this group if someone could give me the code to
learn sth about minimal risk movement.
Post by funkyf1sh
Thanks.
The wiki has already discussed this at this
<http://robowiki.net/wiki/Talk:Main_Page> page. Essentially, Voidious
has a zip file on his site that has all the current bots in the rumble.
You can download the bots here
<http://www.dijitari.com/void/robocode/roborumble_bots.zip> . I hope
that helps you.

Cheers.
funkyf1sh
2011-05-30 22:46:24 UTC
Permalink
Post by funkyf1sh
Post by funkyf1sh
Hi guys,
i would like to learn something more about minimal risk movement
therefore i want to study the code of HawkonFire. But i cant get it.
http://www.robocoderepository.com/ is down for a while now and all links
from http://www.robowiki.net point at this page. So i thought it is a
good idea to ask in this group if someone could give me the code to
learn sth about minimal risk movement.
Post by funkyf1sh
Thanks.
The wiki has already discussed this at this
<http://robowiki.net/wiki/Talk:Main_Page> page. Essentially, Voidious
has a zip file on his site that has all the current bots in the rumble.
You can download the bots here
<http://www.dijitari.com/void/robocode/roborumble_bots.zip> . I hope
that helps you.
Cheers.
Hi,

the sourcecode of HawkOnFire isnt part of the package. Only the compilated version is inside the package. I learned something about the movement by the sourcecode of "Shiz". But I still search the code of HawkOnFire.
Do anybody have it saved it? http://www.robocoderepository.com/ is down and I cant get it somewhere else.

Thanks




------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/Robocode/

<*> Your email settings:
Individual Email | Traditional

<*> To change settings online go to:
http://groups.yahoo.com/group/Robocode/join
(Yahoo! ID required)

<*> To change settings via email:
Robocode-***@yahoogroups.com
Robocode-***@yahoogroups.com

<*> To unsubscribe from this group, send an email to:
Robocode-***@yahoogroups.com

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
Julian Kent
2011-05-31 17:27:42 UTC
Permalink
<*>[Attachment(s) from Julian Kent included below]

I don't have the HawkOnFire code, but here is another minimum risk
movement implementation by Kev. It is a rambot, and so instead of moving
away from the enemies it uses the same type of code algorithm to move
towards them. The code is a bit obfuscated to make it have less
codesize, but the general idea of what does what is still fairly easy to
understand.

-- Julian (Skilgannon on Robowiki)
Post by funkyf1sh
Post by funkyf1sh
Post by funkyf1sh
Hi guys,
i would like to learn something more about minimal risk movement
therefore i want to study the code of HawkonFire. But i cant get it.
http://www.robocoderepository.com/ is down for a while now and all links
from http://www.robowiki.net point at this page. So i thought it is a
good idea to ask in this group if someone could give me the code to
learn sth about minimal risk movement.
Post by funkyf1sh
Thanks.
The wiki has already discussed this at this
<http://robowiki.net/wiki/Talk:Main_Page> page. Essentially, Voidious
has a zip file on his site that has all the current bots in the rumble.
You can download the bots here
<http://www.dijitari.com/void/robocode/roborumble_bots.zip> . I hope
that helps you.
Cheers.
Hi,
the sourcecode of HawkOnFire isnt part of the package. Only the
compilated version is inside the package. I learned something about the
movement by the sourcecode of "Shiz". But I still search the code of
HawkOnFire.
Do anybody have it saved it? http://www.robocoderepository.com/ is down
and I cant get it somewhere else.
Thanks
------------------------------------
Yahoo! Groups Links
--
Julian Kent
***@fastmail.net
--
http://www.fastmail.fm - Access all of your messages and folders
wherever you are



<*>Attachment(s) from Julian Kent:


<*> 1 of 1 File(s) http://groups.yahoo.com/group/Robocode/attachments/folder/270286251/item/list
<*> MaxRisk.java

------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/Robocode/

<*> Your email settings:
Individual Email | Traditional

<*> To change settings online go to:
http://groups.yahoo.com/group/Robocode/join
(Yahoo! ID required)

<*> To change settings via email:
Robocode-***@yahoogroups.com
Robocode-***@yahoogroups.com

<*> To unsubscribe from this group, send an email to:
Robocode-***@yahoogroups.com

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
funkyf1sh
2011-06-12 14:09:12 UTC
Permalink
Thank You. Now I get the code of HawkOnFire but I dont understand what "(1 + Math.abs(Math.cos(calcAngle(myPos, p) - calcAngle(en.pos, p)))) "/ p.distanceSq(en.pos) does. I tried to draw the lines with the onPaint function. But still dont get it.
calcAngle only calculates the arctan2 of 2 points.
p.distanceSq(en.pos) is the antigrav like calculation. My problem is the numerator.

Does it calculate the destinationpoint with the smallest angle?

Hope someone can help me. Thanks



------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/Robocode/

<*> Your email settings:
Individual Email | Traditional

<*> To change settings online go to:
http://groups.yahoo.com/group/Robocode/join
(Yahoo! ID required)

<*> To change settings via email:
Robocode-***@yahoogroups.com
Robocode-***@yahoogroups.com

<*> To unsubscribe from this group, send an email to:
Robocode-***@yahoogroups.com

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
Julian Kent
2011-06-13 07:32:22 UTC
Permalink
This adds (bad) weight to any points that are inline with the current
line from here to enemy bots. This prevents the bot not only from moving
to places where bots are (the antigrav), but also prevents moving
directly towards them.

Julian
Post by funkyf1sh
Thank You. Now I get the code of HawkOnFire but I dont understand what
"(1 + Math.abs(Math.cos(calcAngle(myPos, p) - calcAngle(en.pos, p)))) "/
p.distanceSq(en.pos) does. I tried to draw the lines with the onPaint
function. But still dont get it.
calcAngle only calculates the arctan2 of 2 points.
p.distanceSq(en.pos) is the antigrav like calculation. My problem is the numerator.
Does it calculate the destinationpoint with the smallest angle?
Hope someone can help me. Thanks
------------------------------------
Yahoo! Groups Links
--
Julian Kent
***@fastmail.net
--
http://www.fastmail.fm - Faster than the air-speed velocity of an
unladen european swallow



------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/Robocode/

<*> Your email settings:
Individual Email | Traditional

<*> To change settings online go to:
http://groups.yahoo.com/group/Robocode/join
(Yahoo! ID required)

<*> To change settings via email:
Robocode-***@yahoogroups.com
Robocode-***@yahoogroups.com

<*> To unsubscribe from this group, send an email to:
Robocode-***@yahoogroups.com

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
Loading...