This Lozza UI allows you to type UCI commands in a console-like manner.
In addition to the standard UCI protocol , the following commands can be used:-
Stop the Lozza engine. Useful to stop a long perft or analysis. What actually happens is that the web worker containing Lozza is killed. You’ll need to restart one.
Start Lozza. i.e. create a new web worker containing the Lozza. After a start the following are automatically sent:-
A start command is issued when the console UI starts.
Clear the previous output.
Display a textual FEN and graphical representation of the current position.
perft depth d [moves m] [inner 1|0]
Perform a perft analysis to a depth of d ply based on the current position. m is the expected number of moves and is optional, defaulting to 0. inner 1 will show inner node counts with the default being inner 0
Show how the static evaluation of the current position is constructed.
Attach an identification label to the current position. Only relevant if UCI debugging is on.
Check that the engine is alive.
u == ucinewgame
q == quit
p == position
p s == position startpos
g == go
g d = go depth
b == board
An explicit ucinewgame is needed to reset the transposition tables; and is required before the first position. It is optional during a game since it has no effect other than to clear the TT.
Lozza plays it’s best move when a go command completes, changing the current position.
The current position is unchanged after a perft
The start, stop and clear commands are not be available when using Lozza offline; for example with node.js. Similarly only the textual board representation is shown.