-
Notifications
You must be signed in to change notification settings - Fork 0
/
play.html
executable file
·96 lines (88 loc) · 4.6 KB
/
play.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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="keywords" content="Chess, Chessboard, Javascript, Play Chess, Javascript Chess, three.js, chessboard.js, chessboard3.js">
<title>chessboard3.js</title>
<link rel="shortcut icon" href="img/favicon.ico" type="image/x-icon" />
<link rel="shortcut icon" href="img/favicon.ico" type="image/x-icon" />
<link type="text/css" rel="stylesheet" href="css/site.css">
<link type="text/css" rel="stylesheet" href="css/chessboard.css">
<link type="text/css" rel="stylesheet" href="css/play.css">
<link type="text/css" rel="stylesheet" href="css/sweetalert.css">
<script type="text/javascript" src="js/sweetalert.min.js"></script>
<script type="text/javascript" src="js/jquery-2.1.3.min.js"></script>
<script type="text/javascript" src="js/three.js"></script>
<script type="text/javascript" src="js/OrbitControls.js"></script>
<script type="text/javascript" src="js/chessboard3.js"></script>
<script type="text/javascript" src="js/chessboard.js"></script>
<script type="text/javascript" src="js/chess.js"></script>
<script type="text/javascript" src="js/raphael-min.js"></script>
<script type="text/javascript" src="js/jquery.sonic-gauge.js"></script>
<script type="text/javascript" src="js/play.js"></script>
</head>
<body>
<header id="header">
<h1>chessboard3.js</h1>
</header>
<div class="banner" id="banner">
</div>
<article id="container">
<div id="board">
<h1 class="vertical-align">LOADING...</h1>
</div>
<div id="side">
<div class="buttonpanel">
<input type="button" class="yellowButton" id="startBtn" value="<<">
<input type="button" class="yellowButton" id="backBtn" value="<">
<input type="button" class="yellowButton" id="forwardBtn" value=">">
<input type="button" class="yellowButton" id="endBtn" value=">>">
</div>
<div class ="buttonpanel">
<input type="button" class="yellowButton" id="" value="HINT">
<input type="button" class="yellowButton" id="flipBtn" value="FLIP">
<input type="button" class="yellowButton" id="dimensionBtn" value="2D">
<input type="button" class="yellowButton" id="resetBtn" value="RESET">
</div>
<div id="status"></div>
<div id="gaugebox">
<div id="optionsBox">
<label for="piecesMenu">CHESS SET:</label>
<select id="piecesMenu">
<option value="iconic" >Iconic</option>
<option value="classic" selected>Classic</option>
</select>
<br>
<label for="engineMenu">CHESS ENGINE:</label>
<select id="engineMenu">
<option value="js/p4wn.js">p4wn</option>
<option value="js/lozza.js" selected>Lozza</option>
<option value="js/stockfish.js">stockfish</option>
</select>
<br>
<label for="moveTime">MOVE TIME (seconds):</label>
<select id="moveTime">
<option value="100">0.1</option>
<option value="200">0.2</option>
<option value="500">0.5</option>
<option value="1000" selected>1</option>
<option value="2000">2</option>
<option value="5000">5</option>
<option value="10000">10</option>
<option value="20000">20</option>
</select>
<br>
<label for="promotion">PROMOTE PAWNS TO:</label>
<select id="promotion">
<option value="q">queens</option>
<option value="n">knights</option>
<option value="r">rooks</option>
<option value="b">bishops</option>
</select>
</div>
<!-- <div id="gauge"></div> -->
</div>
</div>
</article>
</body>
</html>