-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
55 lines (55 loc) · 2.33 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
<!DOCTYPE html>
<html>
<head>
<title>Checkers</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, minimum-scale=1.0, maximum-scale=1.0">
<link type="text/css" rel="stylesheet" href="style.css" />
<link type="text/css" rel="stylesheet" href="board.css" />
<script src="jquery/jquery.min.js"></script>
<script src="state.js"></script>
<script src="board.js"></script>
<script src="javascript.js"></script>
</head>
<body>
<div id="main-container">
<div id="buttons">
<button id="bt-restart">Restart</button>
</div>
<h1>Checkers</h1>
<div id="body" class="linear-horizontal">
<div>
<div class="invalid-move-message" data-color="black">You have to make the capture!</div>
<div id="board" data-dimension="8"></div>
<div class="invalid-move-message" data-color="white">You have to make the capture!</div>
</div>
<div id="info-container" class="linear-vertical">
<div id="players">
<fieldset data-color="black" data-type="computer"><legend>Player Black</legend>
Type: <select data-name="type"><option value="human">Human</option><option value="computer" selected>Computer</option></select><br/>
Level: <select data-name="level"><option value="1">1</option><option value="2">2</option><option value="3">3</option><option value="4">4</option></select>
<div class="thinking">I'm thinking...</div>
</fieldset>
<fieldset data-color="white" data-turn><legend>Player White</legend>
Type: <select data-name="type"><option value="human" selected>Human</option><option value="computer">Computer</option></select><br/>
Level: <select data-name="level"><option value="1">1</option><option value="2">2</option><option value="3">3</option><option value="4">4</option></select>
<div class="thinking">I'm thinking...</div>
</fieldset>
</div>
</div>
</div>
<div id="options">
<div>Options</div>
<ul>
<li>
<input type="checkbox" data-option data-name="canCaptureBackwards" checked/> Man can capture backwards
</li>
<li>
<input type="checkbox" data-option data-name="kingCanCaptureBackwards" checked/> King can capture backwards
</li>
</ul>
</div>
</div>
<footer>By Gustavo Sousa <<a href="mailto:[email protected]">[email protected]</a>></footer>
</body>
</html>