Can i ask you to have a look at ....
This is the thread's initial revision.
Hi mate. I'm not sure if i can bother you to have a look at the roborunner changes i made. Maybe the development state is a little to early, but i would like to know what you think.
What is new:
- configuration - included, no need for external scripts and Windows should be supported as well
- just type CONFIG and go through the options
- this will make all internal robocode directories (depended how many installations you want)
- it should be quite fail prof and checks the input for validity
- you also can re configure it if you want to switch to another robocode version or something
- challenges - can be switch on the run
- type CHAL to go through the options
- the challenge file format should be the same as it where before
- all missing bots will be copied to the instances (well not new but it works like before)
- the processes stay initialized
- that means if you have once started the instances they are ready to take more battles after the challenge is over
- or you can switch to another challenge and run it on these instances as well
- you can stop running challenges
- if you type STOP while the challenge is running all processes stop the current battles and can be restarted (they stay initialized)
- with DEBUG you get additional informations (about the messages and some standard output from the processes) - i plan to make this configurable so you can see what you want
- with AUTORUN the next time you start the program it takes the last configuration and challenge and runs it automatically
- with STATUS you get the configuration and running state of all processes
- HELP shows some help (not much yet)
What is not ready yet:
- everything with result output is not finished yet
- the results are coming back from the processes (and will be printed to the console) but there is no processing on these informations right now
- i plan to take your code and then it will be possible to print results with whatever output you prefer (also offline results)
- basically this means - you can say: show me result bla (avgDmg,score,cats,dogs - whatever) and it will be extracted from the current available results
I would be interested if it runs with all the cpu you have and has no concurrency issues. And if the usability is ok.
I had to change quite a lot but it has still the spirit of your RoboRunner and should work as same as yours. It is based on a very basic communication protocol to make it extendable for later needs.
You can find it here: roborunner_wompi.zip. To start it just run the ./rr.sh (same as yours)
If you don't trust the class files, the sources are included or available from GitHub as well.
You don't have to play much with it, just a quick start and configuration and one of the example challenges would be great. This should only take a couple of minutes.
Take Care