News for hackers. Stuff that matters.
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 Moodles on Thursday October 18, 2018 @10:45AM (#18248705)
In order words, Bulbasaur > Squirtle > Charmander > Bulbasaur
Re:Show HN: Beat my tank through strategy and programming by peter-m80 on Thursday October 18, 2018 @11:03AM (#18248868)
In other words, Scissors > Paper > Rock > Scissors
Re:Show HN: Beat my tank through strategy and programming by Moodles on Thursday October 18, 2018 @11:49AM (#18249318)
I prefer my version :-)
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 lixtra on Thursday October 18, 2018 @12:03PM (#18249443)
Algorithm selection in computer science. Current champion in sorting seems to be Timsort[1].

[1] https://en.wikipedia.org/wiki/Timsort

Re:Show HN: Beat my tank through strategy and programming by kuroguro on Thursday October 18, 2018 @12:59PM (#18250009)
There was a similar poker competition but it died out pretty quick: https://github.com/mdp/JsPoker
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 abalaji on Thursday October 18, 2018 @11:39AM (#18249221)
You could solve that problem pretty easily by requiring the next champion to have to have defeated each of the previous winners
Re:Show HN: Beat my tank through strategy and programming by ghusbands on Thursday October 18, 2018 @12:22PM (#18249620)
As suggested in the post you replied to.
Re:Show HN: Beat my tank through strategy and programming by arwineap on Thursday October 18, 2018 @08:02PM (#18253379)
Implement the previous challengers as regression tests!
Re:Show HN: Beat my tank through strategy and programming by jjuhl on Thursday October 18, 2018 @11:33AM (#18249156)
Brings back fond memories of Core War (https://en.m.wikipedia.org/wiki/Core_War).
Re:Show HN: Beat my tank through strategy and programming by bencollier49 on Thursday October 18, 2018 @09:48AM (#18248256)
This reminds me of AI Wars, which I fellow I knew 20 years ago used to play.

http://www.tacticalneuronics.com/content/aiw3dnew.asp

Re:Show HN: Beat my tank through strategy and programming by JoeDaDude on Thursday October 18, 2018 @12:41PM (#18249822)
To name one more nostalgic programming game: RoboWar on the Mac (later ported):

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.

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.

1. https://robocode.sf.net

Re:Show HN: Beat my tank through strategy and programming by mschwaig on Thursday October 18, 2018 @09:18AM (#18248034)
If you are viewing this on mobile you can go to the README.md file to see some text with pictures:

https://github.com/huangyz0918/TankLogo/blob/master/README.m...

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...
Re:Show HN: Beat my tank through strategy and programming by bigredhdl on Thursday October 18, 2018 @01:38PM (#18250354)
A strange game. The only winning move is not to play. How about a nice game of chess?