-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
90 lines (88 loc) · 3.45 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js" charset="utf-8"></script>
<link rel="stylesheet" href="./css/connect.css">
<title>Connect Four</title>
</head>
<body>
<button class= "window-buttons" id="openWelcome">How To Play</button>
<div id="welcome">
<div id="welcome-text">
<h1>
</h1>
<p>Starting with an empty board two players aim to make a straight line with four of their own pieces. The line can be vertical, horizontal or diagnal. Moves are made alternatively, once per turn.</p>
<div id="welcome-footer">
<button class="window-buttons" id="close" href="#">Close</button>
</div>
</div>
</div>
<div id="modal">
<div id="modal-text"></div>
</div>
<div class=gameBoard>
<div class=column>
<div id= "0" class="circle"></div>
<div id= "1" class="circle"></div>
<div id= "2" class="circle"></div>
<div id= "3" class="circle"></div>
<div id= "4" class="circle"></div>
<div id= "5" class="circle"></div>
</div>
<div class=column>
<div id= "6" class="circle"></div>
<div id= "7" class="circle"></div>
<div id= "8" class="circle"></div>
<div id= "9" class="circle"></div>
<div id= "10" class="circle"></div>
<div id= "11" class="circle"></div>
</div>
<div class=column>
<div id= "12" class="circle"></div>
<div id= "13" class="circle"></div>
<div id= "14" class="circle"></div>
<div id= "15" class="circle"></div>
<div id= "16" class="circle"></div>
<div id= "17" class="circle"></div>
</div>
<div class=column>
<div id= "18" class="circle"></div>
<div id= "19" class="circle"></div>
<div id= "20" class="circle"></div>
<div id= "21" class="circle"></div>
<div id= "22" class="circle"></div>
<div id= "23" class="circle"></div>
</div>
<div class=column>
<div id= "24" class="circle"></div>
<div id= "25" class="circle"></div>
<div id= "26" class="circle"></div>
<div id= "27" class="circle"></div>
<div id= "28" class="circle"></div>
<div id= "29" class="circle"></div>
</div>
<div class=column>
<div id= "30" class="circle"></div>
<div id= "31" class="circle"></div>
<div id= "32" class="circle"></div>
<div id= "33" class="circle"></div>
<div id= "34" class="circle"></div>
<div id= "35" class="circle"></div>
</div>
<div class=column>
<div id= "36" class="circle"></div>
<div id= "37" class="circle"></div>
<div id= "38" class="circle"></div>
<div id= "39" class="circle"></div>
<div id= "40" class="circle"></div>
<div id= "41" class="circle"></div>
</div>
<div id="gameBoard-footer">
<button class="window-buttons" id="reset" onclick="location.reload()">Restart</button>
</div>
</div>
<script src="./js/connect.js" charset="utf-8"></script>
</body>
</html>