-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
90 lines (87 loc) · 3.65 KB
/
Copy pathindex.html
File metadata and controls
90 lines (87 loc) · 3.65 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Quiet Chess</title>
<meta name="description" content="Play chess against Stockfish and analyse any game — no account, no upload, no record. The engine runs entirely in your browser.">
<meta property="og:title" content="Quiet Chess — play and analyse, entirely in your browser">
<meta property="og:description" content="Play Stockfish, train endgames, and get full game reviews (accuracy, blunders, best moves) with no account, no upload, no record. Everything runs locally.">
<meta property="og:type" content="website">
<meta property="og:url" content="https://solid-apps.github.io/stockfish/">
<meta property="og:image" content="https://solid-apps.github.io/stockfish/og.png">
<meta property="og:image:width" content="1200">
<meta property="og:image:height" content="630">
<meta name="twitter:card" content="summary_large_image">
<link rel="icon" href="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><text y='0.9em' font-size='90'>♞</text></svg>">
<link rel="stylesheet" href="vendor/chessground.base.css">
<link rel="stylesheet" href="vendor/chessground.brown.css">
<link rel="stylesheet" href="vendor/chessground.cburnett.css">
<link rel="stylesheet" href="style.css">
</head>
<body>
<main>
<div class="play-area">
<div class="eval-col">
<div id="eval-bar"><div id="eval-white"></div></div>
<div id="eval-num">0.0</div>
</div>
<div class="board-col">
<div class="buttons board-actions">
<button id="hint">Get a hint</button>
<button id="undo">Undo</button>
</div>
<div id="board" class="cg-wrap"></div>
<div id="promo-overlay" class="hidden">
<div class="promo-box">
<button data-piece="q">♛</button>
<button data-piece="r">♜</button>
<button data-piece="b">♝</button>
<button data-piece="n">♞</button>
</div>
</div>
<div id="analysis" class="hidden">
<svg id="graph" viewBox="0 0 560 90" preserveAspectRatio="none"></svg>
<p id="analysis-summary"></p>
</div>
</div>
</div>
<aside class="panel">
<h1>Quiet Chess</h1>
<p id="status">Loading engine…</p>
<div class="controls">
<label>
Endgame trainer
<select id="trainer-select">
<option value="">— free play —</option>
</select>
</label>
<label>
Play as
<select id="color-select">
<option value="white" selected>White</option>
<option value="black">Black</option>
<option value="random">Random</option>
</select>
</label>
<label>
<span>Strength <span id="elo-label">1600</span> Elo</span>
<input id="elo" type="range" min="1320" max="3190" step="10" value="1600">
</label>
<div class="buttons">
<button id="new-game">New game</button>
<button id="flip">Flip board</button>
<button id="mute" title="Toggle sound">🔊</button>
</div>
</div>
<ol id="moves"></ol>
<input id="pgn-input" type="text" placeholder="Paste a game (PGN), press Enter" spellcheck="false" autocomplete="off">
<div class="buttons">
<button id="save-pos" title="Put this position in the URL — bookmark or share it, and play it again later">Copy position link</button>
</div>
<p class="panel-links"><a href="openings.html">Opening book →</a></p>
</aside>
</main>
<script type="module" src="app.js"></script>
</body>
</html>