WeekendObsession_S and WeekendObsession_Melee
What's special about it?
Version S it is currently the number one 1v1 nano bot.
Great, I want to try it. Where can I download it?
Version _S from the RobocodeRepository
Version _Melee from 
How competitive is it?
Not too bad in the nano-rumbles.
How does it move?
They run perpendicular to their opponents with variations on RandomMovement
Version _S varies the probablity that it will flip orbit directions inversely to its distance from the opponent (like many good RandomMovement 1v1 bots). It first runs StopAndGo movement a la Splinter, which is really the key to it's #1 rank (and the key to Splinter's #2 rank). That is, it runs stop-and-go movement until it sees that isn't working anymore, then it switches to the random movement.
Version _Melee runs short, random length legs back & forth, distancing itself close its chosen enemy.
How does it fire?
. They use the standard nano-size algorithm for matching on LateralVelocity
, with some additional CodeSize
How does the melee strategy differ from one-on-one strategy?
The biggest difference is that they are different bots :). You can't expect that much from nanos, can you?
What does it save between rounds and matches?
Their pattern matching data between rounds. Nothing between matches.
Where did you get the name?
I was hoping to give up this game. Still hoping ... But last weekend I couldn't keep myself away. From Friday night until Saturday night, I took breaks only to sleep and eat. It's a total obsession.
Can I use your code?
Yup. It's RWPCL
What's next for your robot?
Version _S is pretty much done. Maybe some small tuner variable tweaks from time to time.
Version _Melee ... we'll wait to see how much potential it has.
Version _S, not presently anymore. Kev
may give me a run for my money again, but we'll cross that bridge when we get to it.
Version _Melee - time will tell.
What is your TestBed looking like right now?
Currently it is the rumble.
What other robot(s) is it based on?
I learned a lot about nano-sizing a pattern matcher from the pattern matchers in the top 10 of the NanoRumble?
. Apparently they all learned a lot from FunkyChicken
gets all the credit the StopAndGo
movement. Basically, the S stands for Splinter (but I felt safe naming it that because I could say it meant "Stop-and-Go").
Comments, questions, feedback:
You should release a MegaBot called LifelongObsession to go with it. --David Alves
- I could release it if you promise to take over development :) -- Simonton
Hey, you released WeekendObsession S 1.0 on friday, that not a weekend! Please keep your naming consistent ;-) -- GrubbmGait
- :) Sorry. I couln't help myself. Can I plead the holiday time?? -- Simonton
I was looking at the code and I couldn't figure out why you cast the char to a short instead of int:
a += (short) enemyHistory.charAt(--matchPos) / dist;
} while (--i > 0);
Good question! Are you familiar with the 2's compliment format for binary numbers? In java, casting from a char to an int does not do any sign extention, so (int) (char) -1 != -1 (it equals some large number instead). A Java "char" is the same length as a Java "short", (short) (char) -1 == -1.