Web Worker Contest Tools (inofficial) Wiki
Tool for testing web worker for the web worker contest
Brought to you by:
ferenc_hechler
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:
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.