Discussion:
Detecting bullets
fredsmith888
2010-01-02 02:51:46 UTC
Permalink
Hi all.

I am new to robocode and have a very simple question. I've figured out that you can detect opponent fires by drops in energy, but is there any way to check which direction the bullet went?


Thanks much.



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

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/
Nat Pavasant
2010-01-02 10:28:23 UTC
Permalink
If that is possible, then you would be able to dodge all bullets.
Sorry, it isn't possible.

- Nat


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

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/
flemmingnlarsen
2010-01-02 12:11:58 UTC
Permalink
If you are alone with the robot, and you detect an energy drop, you can be pretty sure that the direction of the bullet will be to a point very near to your robot. ;-)

Clever robots try to figure out how your robot moves, so it might shot to future coordinate of your robot. Even smarter robots will figure out which targeting algorithm the other robot is using in order to stay away from its bullets.
Post by fredsmith888
Hi all.
I am new to robocode and have a very simple question. I've figured out that you can detect opponent fires by drops in energy, but is there any way to check which direction the bullet went?
Thanks much.
------------------------------------

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/
fredsmith888
2010-01-02 21:19:02 UTC
Permalink
Alright, thanks. I didn't see a way to detect the direction of a bullet but just wanted to make sure of it. Thanks again.
Post by flemmingnlarsen
If you are alone with the robot, and you detect an energy drop, you can be pretty sure that the direction of the bullet will be to a point very near to your robot. ;-)
Clever robots try to figure out how your robot moves, so it might shot to future coordinate of your robot. Even smarter robots will figure out which targeting algorithm the other robot is using in order to stay away from its bullets.
Post by fredsmith888
Hi all.
I am new to robocode and have a very simple question. I've figured out that you can detect opponent fires by drops in energy, but is there any way to check which direction the bullet went?
Thanks much.
------------------------------------

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...