-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
37 lines (36 loc) · 1.31 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="icon" type="image/x-icon" href="./favicon.ico">
<link href="https://fonts.cdnfonts.com/css/common-pixel" rel="stylesheet">
<link rel="stylesheet" href="./css/style.css">
<title>Flappy Bird</title>
</head>
<body>
<div class="instructions">
<h2>Instructions</h2>
<ol>
<li>Press 'S' or 'Space Bar' to start the game</li>
<li>Press 'R' to go to the main screen</li>
<li>Press 'Space Bar' to make flappy fly</li>
<li>Press 'P' to pause the game</li>
<li>Press 'S' or 'Space Bar' again to restart after pausing the game</li>
<li>Don't collide in the pipes</li>
</ol>
<div class="highscore">
Highscore = 0
</div>
</div>
<canvas id="canvas"></canvas>
<canvas id="canvas-2"></canvas>
<script src="./js/canvasContext.js"></script>
<script src="./js/sprites.js"></script>
<script src="./js/audios.js"></script>
<script src="./js/classes.js"></script>
<script src="./js/functions.js"></script>
<script src="./js/game.js"></script>
<script src="./js/index.js"></script>
</body>
</html>