I want to create a tunable version of SuperTracker with four parameters that reads a set of the four parameters from a disk file. I know what parameter I want to modify and how, but the problem is I am applying Genetic Algorithm to optimize the strategy of the robot and in every "iteration" of the algorithm I have to create a new tunable version of the robot wich have those parameters modified. How could I create a new version of the robot which is different in every iteration . This is exactly what...
Are there commands in robocode to solve this questions: ¿Is any way to changue the color only of a portion of the battlefiled where my robots are? Look foto ¿Can I rename the name of a robot while is in a battle?
I am trying to put 2 different robots type "sample.SittingDuck" in 2 diferents positions but for some reason int doesn´t works. If i execute this code it doesn´t work(try to forget about the rest of the code because is part from other proyect): (Photo 1) package searchpractice; import robocode.control.*; public class prueba { public static void main(String[] args) { RobocodeEngine engine = new RobocodeEngine(new java.io.File("C:/Robocode")); engine.setVisible(true); int NumPixelRows = 800; int NumPixelCols...
I am trying to put 2 different robots type "sample.SittingDuck" in 2 diferents positions but for some reason int doesn´t works. If i execute this code it doesn´t work(try to forget about the rest of the code because is part from other proyect): (Photo 1) package searchpractice; import robocode.control.*; public class prueba { public static void main(String[] args) { RobocodeEngine engine = new RobocodeEngine(new java.io.File("C:/Robocode")); engine.setVisible(true); int NumPixelRows = 800; int NumPixelCols...
Thank you finally I solved :)
Hello my problem is that I want to compile this code for creating aan application used for controlling Robocode and it seems like the route where Robocode is is not correct but it is, so i dont know what is my problems. This is the first part of my code and it should onle open Robocode and create a new battle view: package searchpractice; import robocode.control.; import robocode.control.events.; public class RouteFinder { public static void main(String[] args) { // Create the RobocodeEngine and...
I have a problem with the compilation of my program and i don´t know why. I have imported correctly robocode libraries too.