-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
150 lines (142 loc) · 5.22 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
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Connect 4 Dots</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<!-- Cover Game Section -->
<div class="end">
<h2>MADE BY HRITIKA SHARAN</h2>
</div>
<div class="cover-game">
<div class="text">
<h1>Welcome to my Game World</h1>
</div>
<div class="animate-box">
<span></span>
<span></span>
<span></span>
<span></span>
<div class="border-animate-box">
<button class="start-game">Start Game</button>
</div>
</div>
</div>
<!-- Main Container -->
<div class="container active">
<form action="" class="form">
<div class="text-box">
<h2>Enter Players Names</h2>
<h3>Choose Color</h3>
</div>
<div class="user-box">
<div class="input-box success">
<input type="text" placeholder="Player 1" class="firstname">
<div class="error"></div>
</div>
<div class="input-box success">
<input type="color" class="firstcolor">
<div class="error"></div>
</div>
<div class="vs">VS</div>
<div class="input-box success">
<input type="text" placeholder="Player 2" class="secondname">
<div class="error"></div>
</div>
<div class="input-box success">
<input type="color" class="secondcolor">
<div class="error"></div>
</div>
</div>
<button class="submit" type="submit">Submit</button>
</form>
<!-- Game Body -->
<div class="game-body active">
<div class="user-info">
<h2>Connect-4 Master Game</h2>
<div class="player-box">
<div class="player">
<span class="firstplayer">First</span>
<span class="color1"></span>
</div>
<div class="player">
<span class="vst">vs</span>
</div>
<div class="player">
<span class="secondplayer">Second</span>
<span class="color2"></span>
</div>
</div>
<div class="playerchance">First</div>
</div>
<div class="connect-4-game">
<div class="connect-4-game">
<div class="cell"></div>
<div class="cell"></div>
<div class="cell"></div>
<div class="cell"></div>
<div class="cell"></div>
<div class="cell"></div>
<div class="cell"></div>
<div class="cell"></div>
<div class="cell"></div>
<div class="cell"></div>
<div class="cell"></div>
<div class="cell"></div>
<div class="cell"></div>
<div class="cell"></div>
<div class="cell"></div>
<div class="cell"></div>
<div class="cell"></div>
<div class="cell"></div>
<div class="cell"></div>
<div class="cell"></div>
<div class="cell"></div>
<div class="cell"></div>
<div class="cell"></div>
<div class="cell"></div>
<div class="cell"></div>
<div class="cell"></div>
<div class="cell"></div>
<div class="cell"></div>
<div class="cell"></div>
<div class="cell"></div>
<div class="cell"></div>
<div class="cell"></div>
<div class="cell"></div>
<div class="cell"></div>
<div class="cell"></div>
<div class="cell"></div>
<div class="cell"></div>
<div class="cell"></div>
<div class="cell"></div>
<div class="cell"></div>
<div class="cell"></div>
<div class="cell"></div>
</div>
</div>
</div>
<div class="winner-popup active">
<div class="winner-content active">
<div class="winner-name"></div>
<img src="https://i.giphy.com/media/v1.Y2lkPTc5MGI3NjExOGljZXlwY21uNnQydm5odXYwMXhqY3UwZ3NnbnBiN3pwNWdobHpsbyZlcD12MV9pbnRlcm5hbF9naWZfYnlfaWQmY3Q9Zw/WjdkmVtr8TDgaEdzHf/giphy.gif">
<button class="restart-game">Restart Game</button>
</div>
</div>
<!-- <div class="winning-box-background">
<div class="winning-box">
<h2>Congratulations
<div class="winner-name"><h2>Winner Name</h2></div>
</h2>
<div class="button restart">Restart Game</div>
</div>
<div class="winner-play"></div>
</div> -->
<!-- Scripts -->
<script src="script.js"></script>
</body>
</html>