-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.html
49 lines (38 loc) · 1.67 KB
/
main.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
<!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">
<link rel = "stylesheet" href ="style.css">
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Sofia&effect=neon|outline|emboss|shadow-multiple">
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Sofia&effect=fire">
<title>Pro Runner Game</title>
</head>
<body onload = "startGame()">
<div id = "SR">
<div class = "score"></div>
<a href = main.html ><button id = "restart">Restart</button></a>
<button id = "pause" onclick = "pause();">Pause</button>
<button id = "play" onclick = "play();">Play</button>
</div>
<audio id="lost">
<source src="lost.wav" type="audio/wav">
</audio>
<audio id="click">
<source src="click.wav" type="audio/wav">
</audio>
<audio id="powerUp">
<source src="powerUp.wav" type="audio/wav">
</audio>
<a href = main.html ><button id = "restart">Restart</button></a>
<img id="tri" width="30" height="30" src="player.png" alt="player">
<img id="power" width="30" height="30" src="powerUp.jpg" alt="player">
<img id="obs" width="30" height="30" src="obs.png" alt="player">
<div class = "SBoard">
<h3 id = "ScoreBoard" class= "font-effect-shadow-multiple" >Leader Board</h3>
<ol id="list" type = "1"></ol>
</div>
<script src = "script.js"></script>
</body>
</html>