forked from yelynn1/tictactoe
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
61 lines (58 loc) · 2.03 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>TTC</title>
<link
rel="stylesheet"
href="https://cdn.jsdelivr.net/npm/bootstrap@4.5.3/dist/css/bootstrap.min.css"
integrity="sha384-TX8t27EcRE3e/ihU7zmQxVncDAy5uIKz4rEkgIXeMed4M0jlfIDPvg6uqKI2xXr2"
crossorigin="anonymous"
/>
<link rel="stylesheet" href="style.css" type="text/css" />
<!-- Global site tag (gtag.js) - Google Analytics -->
<script
async
src="https://www.googletagmanager.com/gtag/js?id=UA-113861388-2"
></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag() {
dataLayer.push(arguments);
}
gtag("js", new Date());
gtag("config", "UA-113861388-2");
</script>
</head>
<body>
<nav class="navbar fixed-top navbar-light bg-light">
<a class="navbar-brand" href="about.html">About</a>
<a class="navbar-brand" href="#">Play Game</a>
<a class="navbar-brand" href="contributors.html">Contributors</a>
</nav>
<div class="container-custom">
<h1>Tic-Tac-Toe</h1>
<h5>Player : <span id="playerstat">0</span></h5>
<h5>Computer : <span id="computerstat">0</span></h5>
<h5>Draw : <span id="drawstat">0</span></h5>
<br />
<div class="play-area">
<div id="block_0" class="block"></div>
<div id="block_1" class="block"></div>
<div id="block_2" class="block"></div>
<div id="block_3" class="block"></div>
<div id="block_4" class="block"></div>
<div id="block_5" class="block"></div>
<div id="block_6" class="block"></div>
<div id="block_7" class="block"></div>
<div id="block_8" class="block"></div>
</div>
<br />
<h2 id="winner"></h2>
<button onclick="reset_board()">RESET BOARD</button>
</div>
<script src="https://connect.facebook.net/en_US/fbinstant.6.3.js"></script>
<script src="app.js"></script>
</body>
</html>