-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
62 lines (49 loc) · 1.64 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
<!DOCTYPE>
<html>
<head>
<meta charset="utf8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<title>Tic-Tac-Toe</title>
<link rel="stylesheet" type="text/css" href="app.css" />
</head>
<body>
<h1 class="title"> Tic-Tac-Toe</h1>
<div class="game-panel">
<div class="tic-tac-toe">
<table class="scoreboard">
<tr>
<td> Player 1 </td>
<td width="30"> </td>
<td> Player 2 </td>
</tr>
<tr>
<td class="score X">
0
</td>
<td> </td>
<td class="score O">
0
</td>
</tr>
</table>
<div class="board"></div>
<button class="btn-reset"> Reset </button>
<select class="grid-options">
<option value="2"> 2 X 2 </option>
<option value="3" selected> 3 X 3 </option>
<option value="4"> 4 X 4 </option>
<option value="5"> 5 X 5 </option>
<option value="6"> 6 X 6 </option>
</select>
</div>
</div>
<script src="TicTacToe.js"></script>
<script>
TicTacToe('.game-panel');
</script>
<!-- Not related to demo -->
<script src="http://www.madcoder.me/demos/demos.js"></script>
<link rel="stylesheet" type="text/css" href="http://www.madcoder.me/demos/demos.css" />
</body>
</html>