Menu

WWC-Tool (Java) Batch

Ferenc Hechler
Attachments
screenshot04.png (38861 bytes)

WWC-Tool (Java) Batch

Batchprocessing battles between your web worker and a number of opponent web workers.
Important: The runtime behaviour of web workers is different from the runtime in the Browser!

Short instructions:

  1. Download the wwctool.jar
  2. create a subfolder "WWCOwn" and put your webworker into it
  3. create a subfolder "WWCOpponents" and put other webworkers into it
  4. start "java -jar wwctool.jar NOGUI"

The battle starts and every opponent runs 10 times against your webworker.
After all opponents where battled a summary is shown and the next round starts.
After another 10 battles against all opponents the next (cummulated) statistic is shown.

Usage:
java -jar wwctool.jar [<ownfolder> <opponentfolder>] [<NOGUI>] [DELAY=<n>] [SEED=<n>]

"SEED=<n>" allows reproducable random numbers, 0=true random. (in JS use "console.random()")
"DELAY=<n>" delay the moves of the faster strategy. For some example "DELAY=75" gives result which are closer to the results in the browser.
 "NOGUI" starts the Batch-Mode.

Related

Wiki: Home

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.