-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
73 lines (73 loc) · 2.53 KB
/
index.html
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
<!DOCTYPE html>
<html>
<head>
<meta name='viewport' content='width=device-width, initial-scale=1.0'>
<link rel='stylesheet' type='text/css' href='css/chessboard-1.0.0.min.css'>
<link rel='stylesheet' type='text/css' href='css/chess.css'>
<script src='js/jquery-3.6.4.min.js'></script>
<script src='js/engine.js'></script>
<script src='js/chess.js'></script>
<script src='js/chessboard-1.0.0.min.js'></script>
<script src='js/app.js'></script>
<script src='js/gamepad.js'></script>
<script src='js/arrowkeys.js'></script>
<title>limchess</title>
</head>
<body>
<div id='header'>
<h1>limchess</h1>
<h2>Limited input accessible chess</h2>
</div>
<div id='gamepadStatus'>
<p>Gamepad device not connected</p>
</div>
<nav>
<ul>
<li><a href="about.html">about</a></li>
<li><a href="help.html">help</a></li>
</ul>
</nav>
<div id='container'>
<div id='status'>
<p></p>
</div>
<div id='board'></div>
<div id='feedback'>
<p></p>
</div>
<div id='ui'>
<div id='ui-important'>
<!-- <button type='button' id='test'>Test</button> -->
<button type='button' id="newGameWhiteBtn">New Game as White</button>
<button type='button' id="newGameBlackBtn">New Game as Black</button>
<button type='button' id="cycleMoveBtn">Show Next Move</button>
<button type='button' id="acceptMoveBtn">Accept Current Move</button>
</div>
<div id='ui-extra'>
<button type='button' id="newMovesBtn">Generate New Moves</button>
<label for="number"> Number of player choices</label>
<div id='numberMovesContainer' style='display:inline;'>
<input id='numberMoves'
name='number'
type='range'
min='1'
max='11'
value='6'>
</div>
<output for='number'>6 </output>
<label for='difficulty'>Difficulty</label>
<div id='difficultyContainer' style='display:inline;'>
<input id='difficultySlider'
name='difficulty'
type='range'
min='0'
max='20'
value='10'>
</div>
<output for='difficulty'>10 </output>
<button onclick="topFunction()" id="goToTopIndex" title="Go to top of page">Go to top of page</button>
</div>
</div>
</div>
</body>
</html>