/
index.html
107 lines (101 loc) · 3.65 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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
<!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 rel="icon" sizes="144x144" href="./images/favicon.png">
<link rel="stylesheet" href="./css/style.css">
<title>Arcade Game Clone</title>
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.8.0/css/all.css" integrity="sha384-Mmxa0mLqhmOeaE8vgOSbKacftZcsNYDjQzuCOm6D02luYSzBG8vpaOykv9lFQ51Y" crossorigin="anonymous">
</head>
<body>
<header>
<h1>Classic Arcade Game Clone</h1>
<h2>Udacity Front-end Nanodegree Project</h2>
<div class="score-panel">
<div class="info star-container">
<h3>Stars: </h3>
</div>
<div class="info" >
<h3>Hearts: </h3>
<i class="icon fas fa-heart"></i>
<i class="icon fas fa-heart"></i>
<i class="icon fas fa-heart"></i>
</div>
</div>
</header>
<aside class="char-menu">
<h3>Choose your player:</h3>
<img src="./images/char-cat-girl.png" alt="cat girl" class="char" id="cat-girl">
<img src="./images/char-horn-girl.png" alt="horn girl" class="char" id="horn-girl">
<img src="./images/char-pink-girl.png" alt="pink girl" class="char" id="pink-girl">
<img src="./images/char-boy.png" alt="boy" class="char" id="boy">
</aside>
<main>
<div class="game"></div>
<div class="is-hidden modal-overlay">
<div class="modal">
<button class="modal-button" onclick="window.location.reload()">x</button>
<h1 class="modal-text">modal text</h1>
<img src="./images/char-princess-girl.png" alt="princess" class="princess">
<p>Click on the X to reset game!</p>
</div>
</div>
</main>
<aside class="instructions">
<div class="instructions-header">
<h3>Instructions</h3>
<button
class="expand fas fa-bars"
onclick="(() => document.getElementById('instruction-container').classList.toggle('is-visible'))()"
>
</button>
</div>
<div class="is-hidden" id="instruction-container">
<ul>
<li>
<h4>To move the player</h4>
</li>
<li>Arrow up or "W": up</li>
<li>Arrow down or "S": down</li>
<li>Arrow right or "D": right</li>
<li>Arrow left or "A": left</li>
</ul>
<ul>
<li>
<h4>To win stars</h4>
</li>
<li>Collect gems to win stars</li>
<li>You need 3 stars to win</li>
</ul>
<ul>
<li>
<h4>To lose hearts</h4>
</li>
<li>You lose hearts when get hit by a bug</li>
<li>You lose the game when lose all the hearts</li>
<li>You need 3 stars to win</li>
</ul>
<ul>
<li>
<h4>To win the game</h4>
</li>
<li>You need 3 stars and at least 1 heart</li>
<li>You win when get into the water</li>
</ul>
</div>
</aside>
<footer>
<p>Page written by Marina Fróes A. Costa</p>
<a href="mailto:facosta.marina@gmail.com" class="fas fa-envelope footer-icon" target="_blank"></a>
<a href="https://github.com/MarinaFroes" class="fab fa-github footer-icon" target="_blank"></a>
<a href="https://www.linkedin.com/in/marina-froes-a-costa/" class="fab fa-linkedin footer-icon" target="_blank"></a>
<a href="https://twitter.com/facosta_marina" class="fab fa-twitter footer-icon" target="_blank"></a>
<a href="https://dev.to/marinafroes" class="fab fa-dev footer-icon" target="_blank"></a>
</footer>
<script src="./js/resources.js"></script>
<script src="./js/app.js"></script>
<script src="./js/engine.js"></script>
</body>
</html>