DangerPrediction

Jump to navigation Jump to search
Revision as of 28 November 2013 at 23:21.
The highlighted comment was created in this revision.

DangerPrediction

Edited by author.
Last edit: 20:51, 28 November 2013

what is DangerPrediction and how does it work

    Tmservo (talk)01:24, 27 November 2013

    From the sounds of it his "DangerPrediction" is very similar to MinimumRiskMovement, except he evaluates the danger along every point in a route. Which is very similar to WaveSurfing except without waves. He would have to have some other method for calculating the risk however.

    Also, not sure how those images prove that the robot is open source. The source being in the Jar and a FLOSS License is usually sufficient.

      Chase04:59, 27 November 2013
       

      Please stop posting images, they are of no help. Also Robocode cannot `decompile` anything.

      Open Source does not refer to the availability of the source code, but the rights given by the author on how that code can be used. In short, it doesn't matter if the source is included in the JAR or not. Since Wolfman has not designated a license (that I can find), this source is copyrighted (closed source) by default.

        Chase06:22, 27 November 2013

        Yup its closed source, I didn't realise that Robocode packed source with the robot by default - how do people stop this?

        I'm not too bothered with people looking at the code, I did say I would write some more details on how I did the movement once I had it working better against more complicated guns, but I don't want people just copying my hard work directly line for line!

        Once I've written it up people can re-implement it if they choose but Chase has it pretty much working correctly. I do use gun-waves to keep track of enemy bullet positions, not guess-factors. I'm not sure if it will ever be as effective as true wave surfing but it should work in melee without any alteration as long as I generate waves and bullet positions for all bots not just one target!

          Wolfman (talk)09:10, 27 November 2013

          There should be a checkbox for including the source when you go to package the robot. Gun-waves usually refer to the waves your gun creates for targeting purposes. I think the other is usually just referred to as enemy waves.

          But it is possible to use waves without guess factors, but it makes the process more complicated.

            Chase00:38, 28 November 2013
             

            too late i secretly put up the open source version of Agent Smith on 2shared

              Tmservo (talk)01:36, 28 November 2013

              There's one rule at the wiki: "Pretty please be polite." Please do.

                Voidious (talk)01:53, 28 November 2013
                 

                Yes, can you please take this down? Thanks!

                  Wolfman (talk)09:23, 28 November 2013
                   

                  I also use waves to keep track of enemy bullet positions, but I use guess factors to guess bullet's headings. The wave works as a collection of incoming virtual bullets. They all share the same center, fire time and bullet power, but each virtual bullet has a different heading.

                    MN (talk)04:10, 28 November 2013

                    Yup thats pretty much how I am using waves. Each wave has a payload that currently is virtual gun data, but I can add Guess Factors in the future. What Agent Smith doesn't do is surf the waves in a traditional sense for movement. It uses predicted x,y positions of enemy bullets over the next 50 ticks to work out a safe path over the those 50 ticks.

                    It will eventually use guess factors to work out where the most likely enemy bullet positions are but that is something I will work on next. At the moment it simply predicts head on, linear and circular bullet positions simultaneously without knowing which one is being used.

                      Wolfman (talk)09:31, 28 November 2013

                      I tried something like that once, I found it wanted to drive away from the enemy along the path of the bullets far to often, rather then the much safer perpendicular movement. But that was well before I managed to get beyond about rank 50.

                        Chase19:30, 28 November 2013

                        I don't think mine has that problem as long as it can track predicted bullet positions accurately. I.e versus linear, head on and circular targeting its pretty damn effective. I've yet to implement guess factor targeting. Once that is in I can add it into the movement to try to predict bullet positions of more advanced targeting methods.

                        It'll be interesting to see if that helps things or not! :)

                          Wolfman (talk)19:47, 28 November 2013

                          If you make it dodge GF Targeting, it will be a Sandbox Flattener, and then it is only a small step to surfer. A good SBF should get you to into the top 100.

                            Chase00:21, 29 November 2013