-
Notifications
You must be signed in to change notification settings - Fork 0
/
game.html
34 lines (29 loc) · 943 Bytes
/
game.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Sketch</title>
<link rel="stylesheet" type="text/css" href="style.css">
<script src="libraries/p5.min.js"></script>
<script src="libraries/p5.sound.min.js"></script>
</head>
<body>
<div id="gameover">
<p class="gameover">You Died</p>
<div>
<p class="gameover">Your score:</p>
</div>
<p id="change" class="text-1">0</p>
<button onclick="myFunction()" class="but">Restart</button>
<script src="gameover.js"></script>
</div>
<script src="main.js"></script>
<script src="Bird.js"></script>
<script src="oldpig.js"></script>
<script src="smallpig.js"></script>
<script src="egg.js"></script>
<script src="rock.js"></script>
<script src="main_boss.js"></script>
</body>
</html>