-
Notifications
You must be signed in to change notification settings - Fork 10
Loading Lozza into chess user interfaces
Lozza needs Node to run. Node is available for pretty much any platform and is quick and easy to install.
Adding Lozza to your chess user interface (CUI) is a little bit different to other engines. Edit the .bat file contained in the release to point at the Node executable (node.exe) with Lozza as a parameter. Full paths are recommended. For example:-
"c:\program files\nodejs\node.exe" "c:\path\to\lozza.js"
The " characters are needed for Windows if there are spaces in the pathnames; your platform may be different.
Now use the .bat file as the engine target in the CUI (where you would normally point to an executable).
If your CUI allows parameters to engine executables, or if your CUI does not allow the selection of batch files, you can use node.exe as the engine executable and lozza.js as a parameter and again full paths are recommended. Linux supports shebangs for javascript files and that is another option.