-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
71 lines (54 loc) · 2.44 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
<!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>Konnect Board Game</title>
<link rel="shortcut icon" type="image/png" href="Resources/Game-TitleIcon.png" />
<link rel="stylesheet" href="game.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
</head>
<body>
<div id="docs">
<h2>Konnect Board Game</h2>
<p>
You are Advised to Consult the <a href="ReadMe.html" target="_blank">Readme File</a>, before Playing the Game.
</p>
<br>
<p class="configure-text">
Configure the Options!
</p>
</div>
<form id="Configure">
<label for="Rows"><span class="tooltip">From 2 to 12</span> Rows:</label> <input id="Rows" name="Rows" type="text" required> <br>
<label for="Cols"><span class="tooltip">From 2 to 12</span> Columns:</label> <input id="Cols" name="Cols" type="text" required> <br>
<label for="Konnect"><span class="tooltip">From 2 to 8</span> Konnect-Goal:</label> <input id="Konnect" name="Konnect" type="text" required> <br>
<label for="Players"><span class="tooltip">From 2 to 8</span> Players:</label> <input id="Players" name="Players" type="text" required> <br>
</form>
<div style="border-top: 2px solid teal; width: 350px; margin: auto;"></div>
<div>
<button id="play" onclick="Play();">Play</button>
</div>
<div>
<button id="newGame" onclick="NewGame();">New Game</button>
</div>
<p id="info"></p>
<div id="game-container"></div>
<span id="Speaker-Icon" onclick="MuteMusic();">
<img src="Resources/Speaker-Icon.png" width="50px" height="50px" ></img>
</span>
<span id="SpeakerMuted-Icon" onclick="MuteMusic();">
<img src="Resources/SpeakerMuted-Icon.png" width="50px" height="50px"></img>
</span>
<audio id="Square-Click" src="Resources/ButtonClick.mp3"></audio>
<audio id="Menu-Click" src="Resources/Menu-ButtonClick.mp3"></audio>
<audio id="Game-Music" loop>
<source src="Resources/High-Seas.mp3" type="audio/mp3">
</audio>
<audio id="Configure-Music" loop>
<source src="Resources/The-Heist.mp3" type="audio/mp3">
</audio>
<script src="game.js"></script>
</body>
</html>