awilliams / RTanque

RTanque is a game for (Ruby) programmers. Players program the brain of a tank and then send their tank+brain into battle against other tanks.
http://awilliams.github.com/RTanque/
MIT License
301 stars 79 forks source link

Reflecting tanks' gun energy? #17

Closed amongonz closed 7 years ago

amongonz commented 10 years ago

I've noticed most Robocode-like games allow the radar to detect the other tanks' energy. This allows lots of tactics, such as:

I admit some of them a quite advanced, but provides a way to make more reactive movement patterns, more interesting matches and makes it more difficult to have a "finished" bot, since there is much more room for improving and researching.

As a downside, more possible tactics means more bots taking more memory and/or computing resources; that could become a security problem, but that should probably go on another issue.

awilliams commented 10 years ago

Thanks @AmonTessin, I agree that providing the other tanks' health would allow for more complex gameplay and tactics.

As far as it being a security issue, I'm not too worried about that because the same problem exists now - a bot could easily do very resource intensive operations.

What I am worried about is backwards compatibility. Introduction this change would be a change to the bot API, even though it should be backwards compatible. I haven't figured out how to manage these API changes yet. Any suggestions would be helpful.

Thanks for your interest in RTanque!