forked from ChromeGaming/GameSphere
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
70 lines (64 loc) · 2.93 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href="css/reset.css" rel="stylesheet" type="text/css" media="screen">
<link href="css/main.css" rel="stylesheet" type="text/css" media="screen">
<script defer src="https://use.fontawesome.com/releases/v5.0.9/js/all.js" integrity="sha384-8iPTk2s/jMVj81dnzb/iFR2sdA7u06vHJyyLlAd4snFpCl/SnyUjRrbdJsw1pGIl" crossorigin="anonymous"></script>
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Starship Panic Game</title>
</head>
<body>
<div class="wrapper">
<div class="one">
<div id="scoreboard">
<img id="logo" src="https://github.com/GameSphere-MultiPlayer/GameSphere/assets/56786344/5b72b855-3de6-4ff1-bbcb-8fd0d59999ad">
<div class="infoGame">
<div class="level">
<h3>Level</h3>
<div id="level">--</div>
</div>
<div class="health">
<h3>Health</h3>
<div id="lifes">--</div>
</div>
</div>
<div class="music">
<h3>Music</h3>
<div id="sound" class="volume"><i class="fas fa-volume-up"></i></div>
</div>
</div>
</div>
<div class="two">
<main id="mainContainer" class="clearfix">
<div class="container clearfix">
<section class="startScreen clearfix">
<button class="startGame">Press to Start</button>
<button class="howTo">How to Play</button>
</section>
<section class="infoScreen clearfix">
<button class="backButton">Back</button>
</section>
<section class="gameoverScreen clearfix">
<button class="restart">Start Over</button>
</section>
<section class="nextlevelScreen clearfix">
<button class="nextLevel">Next Level</button>
</section>
<canvas id="Canvas" width="768" height="512">
<div class="unsupported"><p>Sorry, this example cannot be run because your browser does not support the <canvas> element</p></div>
</canvas>
</div>
<!-- Sound Files -->
<audio class="soundtrack" src="audio/main_soundtrack.mp3" autoplay></audio>
<audio class="death" src="audio/death.wav"></audio>
<audio class="gameover" src="audio/gameover.wav"></audio>
<audio class="success" src="audio/success.wav"></audio>
<audio class="select" src="audio/select.wav"></audio>
</main>
</div>
</div>
<script src="js/main.js"></script>
</body>
</html>