-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
140 lines (129 loc) · 3.51 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
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>My Life At Mars | By Sebery</title>
<!-- FAVICON -->
<link
rel="apple-touch-icon"
sizes="180x180"
href="/favicon/apple-touch-icon.png"
/>
<link
rel="icon"
type="image/png"
sizes="32x32"
href="/favicon/favicon-32x32.png"
/>
<link
rel="icon"
type="image/png"
sizes="16x16"
href="/favicon/favicon-16x16.png"
/>
<link rel="manifest" href="/favicon/site.webmanifest" />
<!-- STYLES -->
<link rel="stylesheet" href="css/mains.css" />
<!-- FONTS -->
<link
href="https://fonts.googleapis.com/css2?family=Gugi&display=swap"
rel="stylesheet"
/>
<link
href="https://fonts.googleapis.com/css2?family=Tomorrow:ital,wght@0,400;1,600;1,700&display=swap"
rel="stylesheet"
/>
</head>
<body>
<!-- LOADING CONTAINER -->
<div class="loading-container">
<i class="fas fa-spinner"></i>
</div>
<!-- ERROR LOADING CONTAINER -->
<div class="error-loading-container">
<div>
<p></p>
<a id="restart-btn" href="index.html">Restart</a>
</div>
</div>
<!-- MAIN SECTION -->
<main>
<h1>My Life At<br />Mars</h1>
<a id="start-btn" href="#">Let's start</a>
<div class="icons-container">
<a id="volume" href="#"><i class="fas fa-volume-up"></i></a>
<a
href="https://github.com/seberydev"
target="_blank"
rel="noopener noreferrer"
><i class="fab fa-github"></i
></a>
<a
href="https://twitter.com/seberydev"
target="_blank"
rel="noopener noreferrer"
><i class="fab fa-twitter"></i
></a>
</div>
</main>
<!-- GAME CONTAINER -->
<div class="game-container">
<div class="object-spawner-container"></div>
<div class="sol-info"></div>
<img id="hands" src="img/hands.svg" alt="Your Hands" />
<div class="player-game-info">
<div>
<label for="foodProgress"
><img src="img/bottle.svg" alt="Food Progress Icon"
/></label>
<progress
value="50"
max="100"
name="foodProgress"
id="foodProgress"
></progress>
</div>
<div>
<label for="waterProgress"
><img src="img/water.svg" alt="Water Progress Icon"
/></label>
<progress
value="75"
max="100"
name="waterProgress"
id="waterProgress"
></progress>
</div>
<div>
<label id="healthIcon" for="healthProgress"
><img src="img/heart.svg" alt="Water Progress Icon"
/></label>
<progress
name="healthProgress"
value="80"
max="100"
id="healthProgress"
></progress>
</div>
</div>
</div>
<!-- SCORE CONTAINER -->
<div class="score-container">
<p>Score: 0</p>
</div>
<!-- GAME OVER CONTAINER -->
<div id="gameOverContainer" class="game-over-container">
<div>
<h1>GAME OVER</h1>
<a href="index.html">Main Menu</a>
</div>
</div>
<!-- SCRIPTS -->
<script type="module" src="js/main.js"></script>
<script
src="https://kit.fontawesome.com/00a4efd493.js"
crossorigin="anonymous"
></script>
</body>
</html>