* [property in spain]|
Princess - everybody has his princess in his heart. designed by xieming and iiley.
Princess's work mode is: it chooses a robot operator to control the robot, it can choose a different operator in different battles or different round, based on the battle score of the operator. So it can choose the best operator to battle the enemy. A different author can design his own operator separately ( must inherit the abstract class Operator ).
This class is just an operator chooser, it chooses a robot operator from all operators based on the operator's battle score. Actually, the robot is controlled by the operator chosen, an instance of AdvancedRobot and all robot event will be sent to this operator, so it can control the robot. Every robot operator must inherit the class Operator.
This class also manages the score info.
The more Princess runs, the more info will be collected, so Princess can choose the best operator to battle a certain enemy or in the multi mode, and the Princess will become more and more clever.
currently, there are two robot operators: #0. MinixHT? - designed by xieming #1. Lolita - designed by PEZ & iiley
Lolita move is EscapeAreaMovement. Which means:
Just something I've observed occasionally in melee that is probably holding this excellent bot back:
skippedTurnTimes=201 hitWallTimes=0 operator is : Lolita MinixHT score : 6432.895037189583 with 32 rounds. Lolita score : 140758.0740107106 with 391 rounds. cx.Princess 1.0: Exception: java.lang.NullPointerException java.lang.NullPointerException at cx.lolita.move.LolitaMove.initTarget(LolitaMove.java:181) at cx.lolita.move.LolitaMove.registerRFired(LolitaMove.java:60) at cx.lolita.Lolita.onFire(Lolita.java:75) at cx.lolita.gun.Gun.fireBullet(Gun.java:84) at cx.lolita.gun.Gun.work(Gun.java:36) at cx.lolita.Lolita.play(Lolita.java:54) at cx.lolita.AdvancedOperator.work(AdvancedOperator.java:81) at cx.Princess.run(Princess.java:76) at robocode.peer.RobotPeer.run(RobotPeer.java:616) at java.lang.Thread.run(Thread.java:536)
Also, 201 skipped turns in 9 rounds? Does this always happen? -- Kawigi
I'm confused. LolitaMove shouldn't be used in Melee. At least that's what I have always assumed. "Holding ... back" is probably an understatement of proportions since that movement is truly OneOnOne specific. -- PEZ
In my testing it did not always happen too much skip.~;[
That's generally the case. Although I've seen it crash with the same error (I think) at the beginning of the round, though. I just ran 50 rounds that included it, though - I got the most firsts and thirds, and only 2 seconds - Princess got something like 15 2nds. Either way, something needs to be fixed. -- Kawigi