User talk:Chase-san/NewTech/KakeruCode
Jump to navigation
Jump to search
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.
- [View source↑]
- [History↑]
You cannot post new threads to this discussion page because it has been protected from new threads, or you do not currently have permission to edit.
There are no threads on this page yet.