Re:Show HN: Beat my tank through strategy and programming
by sclangdon on Thursday October 18, 2018 @10:17AM
(#18248487)
I get that the idea is to have an ever-improving champion, and I like the idea, but it's not going to work out that way in practice. The best way to defeat the current champion will be to exploit it in some way, which will usually lead to irregular, but very specific, behaviour of the challenger.
Then, when challenger becomes the champion it's behaviour will be useless and the next challenger will either beat it easily, or will do the same and the cycle will repeat.
To protect against this, the challenger should have to beat all previous champions, not just the current champion.
Re:Show HN: Beat my tank through strategy and programming
by closed on Thursday October 18, 2018 @12:03PM
(#18249440)
I think you're probably right--but it's worth noting that it depends on the "space of tank behaviors". It's an open question whether there exists a tank that "strongly dominates" other tank strategies.
One way to deal with this could be to have a system similar to ELO in chess, so each tank gets a ranking. This is compromise between having to defeat "champion level tanks", and having to defeat champion level tanks more often than not!
Re:Show HN: Beat my tank through strategy and programming
by dyarosla on Thursday October 18, 2018 @11:38AM
(#18249202)
I’ve never actually seen such a competition where all previous champions must be defeated. Sounds like a much more robust system- any examples of such?
Re:Show HN: Beat my tank through strategy and programming
by RugnirViking on Friday October 19, 2018 @09:54AM
(#18256727)
World records in sporting events work this way. Perhaps it is obvious, but I consider it similar. The one diffrenece is of course that they don't compete directly as in this case.
Re:Show HN: Beat my tank through strategy and programming
by JoeDaDude on Thursday October 18, 2018 @12:56PM
(#18249962)
In my limited experience with other programming games, it is rare for one AI to defeat another AI 100% of the time. So for a submitter, the claim their own red tank is stronger than the blue tank should be qualified with a 3 out of 4 wins or similar criteria.
Re:Show HN: Beat my tank through strategy and programming
by snovv_crash on Thursday October 18, 2018 @11:58AM
(#18249395)
The game physics look very inspired by Robocode[1]. Great work! I wonder if months of work could yield similar results to what was seen there, with neural networks and dodging and prediction of enemies.
Re:Show HN: Beat my tank through strategy and programming
by knicholes on Thursday October 18, 2018 @10:17AM
(#18248480)
I need to figure out how to turn this into an openAI gym so I can train my DQN on it. I just finished running the code from Deep Reinforcement Learning - Hands on for Pong, and it's pretty cool...
Then, when challenger becomes the champion it's behaviour will be useless and the next challenger will either beat it easily, or will do the same and the cycle will repeat.
To protect against this, the challenger should have to beat all previous champions, not just the current champion.
One way to deal with this could be to have a system similar to ELO in chess, so each tank gets a ranking. This is compromise between having to defeat "champion level tanks", and having to defeat champion level tanks more often than not!
[1] https://en.wikipedia.org/wiki/Timsort
http://www.tacticalneuronics.com/content/aiw3dnew.asp
https://en.wikipedia.org/wiki/RoboWar
Corewar is still the granddaddy of them all though, as has already been pointed out here.
At one time, there was a huge list of programming games posted on the 'net. This was a good idea and should be revived.
1. https://robocode.sf.net
https://github.com/huangyz0918/TankLogo/blob/master/README.m...