User talk:Chase-san/NewTech/KakeruCode
Well throwing myself on the whims of the wiki. Now I know most of you are too busy dealing with your own code and your own bugs to look at anyone elses. However I am sure there is another bug in here somewhere. If you need any additional source posted (such as the wave or Vector classes) just ask. — Chase-san 08:52, 28 July 2011 (UTC)
Only thing in addition to that is that I would like to ask how DC is worked into a movement, as my attempts thus far have proved less then successful.
What I am doing currently is:
- Record the current state of the robot at the given time (2 turns ago or current state for heat waves)
- Store those values normalized (0 to 1) in a class/array and that in the wave.
- When you are hit, take the state from the wave that hit and add the guessfactor to it.
- Store that state where you can get to it later.
- During Surfing, determine the recorded states that are nearest to the waves state and add danger for the GFs from them.
- I have tried to weight these factors by how close a match the state was as well.
- Surf the waves according to these dangers
- Profit
However this kills my score, by a great deal. So I think I am missing something.
— Chase-san 08:52, 28 July 2011 (UTC)
Sounds like you have the right idea there. How's your score against LT / CT? I might turn off the gun heat waves until later, too. Against learning guns, you'll probably want some way of decaying older data eventually, but I'm not sure if the VCS you're comparing to does that either. CunobelinDC is probably a good place to look for basic guidance, and of course you can also check Diamond. Sorry, maybe I'll look over the code when I have time. --Voidious 17:12, 28 July 2011 (UTC)