Multiple battles headless?
Andrew Perrott <[email protected]> Fri, 22 Jan 2021 10:22:09 -0800 (PST)
| Newsgroups | gmane.comp.java.robocode |
|---|---|
| Message-ID | <[email protected]> |
Hi all, I'm writing a genetic algorithm to build me some robots, and to test them it runs a command like: `./robocode.sh -battle settings.battle -nodisplay -results roundResults.txt` for each robot it generates. It's running this for a lot of robots, so the overhead of starting up the application each time takes quite a while. Is there a way to run multiple battles in one go, or 'hold on' to a single instance of the application that I can call each time for a battle without a display? In case it matters, I'm running it on ubuntu using Python's subprocess module to fire off the command. Thanks! -- You received this message because you are subscribed to the Google Groups "robocode" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/robocode/e0193457-389f-4d3f-9255-8ec14522a32en%40googlegroups.com.