-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
112 lines (96 loc) · 4.91 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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Connect Four</title>
<!--Favicon -->
<link rel="shortcut icon" href="images/favicon.png" type="image/x-icon">
<!-- Font Awesome File -->
<link rel="stylesheet" href="cssHub/all.min.css">
<!-- Bootstrap File -->
<link rel="stylesheet" href="cssHub/bootstrap.min.css">
<!-- CSS Main File-->
<link rel="stylesheet" href="cssHub/style.css">
</head>
<body>
<main class="container d-flex justify-content-center align-items-center">
<div class="row m-0 justify-content-center">
<div class="title fw-bold fs-1 text-center"> Connect Four</div>
<p class="text-center fs-4">Current player : <span id="current-player"></span></p>
<div class="game d-flex flex-column justify-content-center p-2 position-relative rounded-top-2">
<table class="board">
<tr>
<td><button type="button"></button></td>
<td><button type="button"></button></td>
<td><button type="button"></button></td>
<td><button type="button"></button></td>
<td><button type="button"></button></td>
<td><button type="button"></button></td>
<td><button type="button"></button></td>
</tr>
<tr>
<td><button type="button"></button></td>
<td><button type="button"></button></td>
<td><button type="button"></button></td>
<td><button type="button"></button></td>
<td><button type="button"></button></td>
<td><button type="button"></button></td>
<td><button type="button"></button></td>
</tr>
<tr>
<td><button type="button"></button></td>
<td><button type="button"></button></td>
<td><button type="button"></button></td>
<td><button type="button"></button></td>
<td><button type="button"></button></td>
<td><button type="button"></button></td>
<td><button type="button"></button></td>
</tr>
<tr>
<td><button type="button"></button></td>
<td><button type="button"></button></td>
<td><button type="button"></button></td>
<td><button type="button"></button></td>
<td><button type="button"></button></td>
<td><button type="button"></button></td>
<td><button type="button"></button></td>
</tr>
<tr>
<td><button type="button"></button></td>
<td><button type="button"></button></td>
<td><button type="button"></button></td>
<td><button type="button"></button></td>
<td><button type="button"></button></td>
<td><button type="button"></button></td>
<td><button type="button"></button></td>
</tr>
<tr>
<td><button type="button"></button></td>
<td><button type="button"></button></td>
<td><button type="button"></button></td>
<td><button type="button"></button></td>
<td><button type="button"></button></td>
<td><button type="button"></button></td>
<td ><button type="button"></button></td>
</tr>
</table>
<div class="footer position-absolute d-flex justify-content-center align-items-center">
<div class="middle rounded-pill"></div>
</div>
</div>
</div>
<div class="row layout m-0 position-fixed bottom-0 w-100 h-100 d-flex justify-content-center align-items-center d-none" id="layout">
<div class="popUp col-11 col-md-3 p-3 d-flex flex-column justify-content-center align-items-center rounded-3">
<p class="fs-3 fw-bold col" id="msg"></p>
<button class="btn px-2" id="newGame-btn">New Game</button>
</div>
</div>
</main>
<!--Bootstrap Bundle File-->
<script src="jsHub/bootstrap.bundle.min.js"></script>
<!-- Main Js File -->
<script type="module" src="jsHub/main.js"></script>
<script type="module" src="jsHub/game.js"></script>
</body>
</html>