-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathplayhelp.htm
72 lines (56 loc) · 3.07 KB
/
playhelp.htm
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
<!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>Play</h3>
<p>
Play a game of chess against Lozza. By default you will be playing with the
white pieces. Use the Play menu to change colour and start or restart a new game
with with the black or white pieces. You can do this at any time.
<p>
You can change how well Lozza plays at any time - including during a game - by using
the Strength menu. If you find you are making mistakes, try using a
lower strength.
<p>
While Lozza is thinking some information is shown above the board and after Lozza
has moved the information will look something like this:-
<p><b>1 s | 948.29 kn | 947.34 kn/s | 0.1%</b>
<p><b>1 s</b> is the time lozza took to move. <b>948.29 kn</b> can be thought of as
the total number of moves Lozza analysed while making her move. <b>947.34 kn/s</b> is the number of moves
analysed per second. <b>0.1%</b> is the percentage of her internal memory used so far.
<p>
The Analyse button will open a new web page allowing you to analyse the current position.
Both web pages will be active. It's easier to bounce between play and analyse pages using a
laptop rather than a phone.
<h3>Optional URL parameters</h3>
<p><b>c=b</b>
<p>You play black. Default is you play white.
<p><b>l=<i>1 to 10</i></b>
<p>Sets the initial strength. Default is level 1 (<i>l=1</i>)
<p><b>fen=<i>fen</i></b>
<p>Use the specified FEN string to start the game from. The default is the standard start position.
<p><b>m=<i>ucigocommand</i></b>
<p>Lozza uses the given UCI go command to make her move rather than that for the selected level. For example to ask Lozza
to search to a depth of 2 ply only use:-
<p><a href="https://op12no2.github.io/lozza-ui/play.htm?m=go depth 2">https://op12no2.github.io/lozza-ui/play.htm?m=go depth 2</a>
<p>Another example, to ask Lozza to make her move after searching 100000 nodes, use:-
<p><a href="https://op12no2.github.io/lozza-ui/play.htm?m=go nodes 100000">https://op12no2.github.io/lozza-ui/play.htm?m=go nodes 100000</a>
<p>To make Lozza move after a certain time specify the time in milliseconds, e.g. 200ms use:-
<p><a href="https://op12no2.github.io/lozza-ui/play.htm?m=go movetime 200">https://op12no2.github.io/lozza-ui/play.htm?m=go movetime 200</a>
<p>When the m parameter is present the strength menu has no effect.
<p><a href="https://op12no2.github.io/lozza-ui">Lozza Chess</a>
</body>
</html>