-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathindex.html
66 lines (52 loc) · 2.08 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<link href="https://fonts.googleapis.com/css?family=Bungee" rel="stylesheet">
<link rel="stylesheet" href="styles/main.css">
<title>Dragón Vegano | The Game</title>
</head>
<body>
<div id="canvas-wrap">
<!-- Aquí va el canvas -->
<div id="start-screen" class="overlay">
<h1 id="game-title"><span>el</span>DragónVegano</h1>
<i class="fas fa-info-circle icon fa-2x"></i>
<div class="start-text">
<p class="press-space">press space bar to fly</p>
</div>
<div id="text-info" class="show-hide">
<ul class="list">
<li class="list-item">Fly pressing the space bar</li>
<li class="list-item">Try to eat vegetables</li>
<li class="list-item">You're a vegan dragon, so do not eat meat</li>
<li class="list-item">Meat: living chickens, bacon and rocket roasted chicken</li>
<li class="list-item">Press Z to pause the game</li>
</ul>
</div>
</div>
<div id="stop-screen" class="overlay show-hide">
<div class="final-result">
<ul class="list">
<li class="list-item">You have flown <span id="distance"></span> meters</li>
<li class="list-item">You have eaten <span id="broccolis"></span> broccolis</li>
</ul>
<button id="fly-again" class="btn second">fly again</button>
</div>
</div>
</div>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<script defer src="https://use.fontawesome.com/releases/v5.0.1/js/all.js"></script>
<script src="js/broccoli.js"></script>
<script src="js/steak.js"></script>
<script src="js/shadow.js"></script>
<script src="js/character.js"></script>
<script src="js/traps.js"></script>
<script src="js/chickens.js"></script>
<script src="js/backgrounds.js"></script>
<script src="js/game.js"></script>
<script src="js/main.js"></script>
</body>
</html>