-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
75 lines (71 loc) · 2.53 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Connect Flow</title>
<link
href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css"
rel="stylesheet"
/>
<link rel="stylesheet" href="css/style.css" />
</head>
<body class="bg-dark text-white text-center">
<div class="container mt-5">
<img src="img/logo.png" alt="Connect Flow Logo" class="logo mb-4" />
<h1 class="display-4">Connect Four</h1>
<div id="initial-buttons" class="mt-4">
<button id="play-btn" class="btn btn-warning m-2">Play</button>
<button
id="instructions-btn"
class="btn btn-info m-2"
data-toggle="modal"
data-target="#instructionsModal"
>
Instructions
</button>
</div>
<div id="difficulty-buttons" class="mt-4 d-none">
<button class="btn btn-success m-2">Easy</button>
<button class="btn btn-primary m-2">Hard</button>
<button class="btn btn-danger m-2">Extreme</button>
</div>
</div>
<!-- Instructions Modal -->
<div
class="modal fade"
id="instructionsModal"
tabindex="-1"
aria-hidden="true"
>
<div class="modal-dialog">
<div class="modal-content bg-dark text-white">
<div class="modal-header">
<h5 class="modal-title">Instructions</h5>
<button type="button" class="close text-white" data-dismiss="modal">
×
</button>
</div>
<div class="modal-body">
<p>
Connect 4 is a two-player game where the goal is to connect four
discs in a row horizontally, vertically, or diagonally.
</p>
<p>
Players take turns dropping a disc into one of seven columns. The
disc falls to the lowest available space.
</p>
<p>
The first player to connect four discs in a row wins. If all
spaces are filled without a winner, the game is a draw.
</p>
</div>
</div>
</div>
</div>
<script src="https://code.jquery.com/jquery-3.5.1.slim.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/@popperjs/[email protected]/dist/umd/popper.min.js"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/js/bootstrap.min.js"></script>
<script src="js/script.js"></script>
</body>
</html>