I got LightningStrike off robocode repository and it's pretty good for a beginner bot! The 2 guns thing is quite clever. I certainly can't fit it into a nano. - User:BeastBots101
|Thread title||Replies||Last modified|
|Bugs in random movement for 0.10B||7||04:47, 13 December 2013|
I tried to combine random movement and WeekendObsession's PM gun, the bot will turn like crazy back and forth and move in tiny intervals at around 10 instead of 100.
It's probably because WeekendObsession has movement tied to the gun. In the movement command, the variable a is defined. If you define it outside the command(setTurnRight, etc), and delete it, then the bugs might stop.
Actually, I got rid of all bugs by cheating and just combining RandomMovementBot and WeekendObsession.
Just be sure to keep in mind WeekendObsession's and RandomMovementBot's license, the RWPCL.
I don't know why he did that. Anyway, it's open source and the bots are credited. We'll probably change the movement to something more advanced, maybe like Raiko's.
If you really want to make a competitive micro, you should start battles with SAG, and only switch if you're getting hit a lot. It only costs about ~80 bytes, and it makes a big difference in APS.