-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathconsolehelp.htm
More file actions
94 lines (65 loc) · 2.54 KB
/
consolehelp.htm
File metadata and controls
94 lines (65 loc) · 2.54 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<link rel="shortcut icon" type="image/x-icon" href="favicon.ico">
<title>lozza chess engine</title>
<meta name="title" content="lozza chess engine" />
<meta name="description" content="lozza chess engine" />
<meta name="keywords" content="chess, javascript, lozza, queens, gambit, queens gambit" />
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<link rel="stylesheet" type="text/css" media="screen" href="bootstrap3/css/bootstrap.min.css" />
<style>
body {padding: 20px;}
</style>
</head>
<body>
<h3>Console</h3>
<p>This Lozza UI allows you to type UCI commands in a console-like manner.</p>
<h3>Command extensions</h3>
<p>In addition to the standard UCI protocol, the following commands can be used.</p>
<p><b>quit | stop</b></p>
<p>Kill the Lozza engine. Use <b>start</b> to restart it.</p>
<p><b>start</b></p>
<p>Start Lozza. i.e. create a new web worker containing the Lozza.</p>
<p>A <b>start</b> command is issued when the console UI starts.</p>
<p><b>clear</b></p>
<p>Clear the previous output.</p>
<p><b>board</b></p>
<p>Display a FEN representatiing the current board position.</p>
<p><b>bench</b></p>
<p>display a total node count for a selection of FENs. Takes a few seconds to run.</p>
<p><b>perft</b> <b>depth</b> d</p>
<p>Perform a perft analysis to a depth of d ply based on the current position.</p>
<p><b>eval</b></p>
<p>Show an evaluation for the current position.</p>
<p><b>moves</b></p>
<p>Display moves for the current position.</p>
<p><b>net</b></p>
<p>Display network properties.</p>
<p><b>et</b></p>
<p>eval tests; specifically the UE part of NNUE.</p>
<p><b>pt</b></p>
<p>PERFT tests</p>
<h3>Shortcuts</h3>
<p><b>u</b> == ucinewgame</p>
<p><b>q</b> == quit</p>
<p><b>s</b> == stop</p>
<p><b>c</b> == clear</p>
<p><b>p</b> == position</p>
<p><b>e</b> == eval</p>
<p><b>p s</b> == position startpos</p>
<p><b>g</b> == go</p>
<p><b>g d</b> = go depth</p>
<p><b>b</b> == board</p>
<p><b>n</b> == net</p>
<p><b>m</b> == moves</p>
<h3>Optional URL parameters</h3>
<p><b>cmd=<i>command;command;command...</i></b>
<p>Example:-
<p><a href="https://op12no2.github.io/lozza-ui/console.htm?cmd=u;p s;b">https://op12no2.github.io/lozza-ui/console.htm?cmd=u;p s;b</a>
<p>
<a href="https://op12no2.github.io/lozza-ui">Lozza Chess</a>
</body>
</html>