This tool allows you to single step your webworker.
In fact this is the same tool as the Batch Tool, but it is started without the command line argument "NOGUI".
You need Java 6 or up.
Recommended: Java 8 for full JS-Syntax (e.g. UInt8Array).
The left view shows you the 100x100 field.
The right view shows only the parts which are visible for your strategy.
If you have an IDE which supports to debug JavaScript which was started from the ScriptEngine you can debug your web worker while watching the single steps.
Currently I found only "IntelliJ IDEA (Ultimate Edition)" to support debugging (see screenshot above).
As an alternative you can debug your WebWorker in Google Chrome using the [WWC-Tool (HTML)].
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.