-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
200 lines (192 loc) · 11.8 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
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- Bootstrap -->
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.1/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-4bw+/aepP/YC94hEpVNVgiZdgIC5+VKNBQNGCHeKRQN+PtmoHDEXuppvnDJzQIu9" crossorigin="anonymous">
<!-- Icons -->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.10.5/font/bootstrap-icons.css">
<!-- Fuente -->
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Londrina+Solid:wght@100;300;400&display=swap" rel="stylesheet"> <!-- Css -->
<!-- Sweetalert -->
<script src="https://cdn.jsdelivr.net/npm/sweetalert2@11"></script>
<link rel="stylesheet" href="styles.css">
<title>Document</title>
</head>
<body>
<main>
<nav class="navbar m-0">
<p id="ingles">English</p>
</nav>
<!-- Banner -->
<div class="banner">
<div class="divisor1">
</div>
<h2 class="text-center pt-4 pb-0 tl">Bienvenido a</h2>
<h1 class="text-center pt-0 p-4">Coder Survivor</h1>
<h2 id="h2" class="text-center pb-4 tl tl2">Un simulador de supervivencia</h2>
<div class="divisor2">
</div>
<section class="m-5 mb-0">
<h3 class="p-2">Intro</h3>
<p class="text-justify p-intro p-1 tl">Eres un programador perdido en el bosque en pleno invierno, lo bueno, es que has jugado suficientes videojuegos de supervivencia para entender como funciona ¿Qué podría salir mal? </p>
<h3 class="p-2 tl">Instrucciones</h3>
<ul class="mb-0">
<li class="tl">Tienes 4 ESTADOS:</li>
<ul>
<li class="tl">HAMBRE</li>
<li class="tl">SED</li>
<li class="tl">FRÍO</li>
<li class="tl">ENERGÍA</li>
</ul>
<li class="tl">Debes buscar recursos para sobrevivir como COMIDA, AGUA y MADERA mediante INCURSIONES.</li>
<li class="tl">Cada Incursión que hagas va a consumir un poco de tus ESTADOS, sobre todo ENERGIA.</li>
<li class="tl">Puedes Dormir para recuperar ENERGIA, pero te restará parte de tus otras ESTADOS.</li>
<li class="tl">Comienzas con 2 unidades de COMIDA y 1 unidad de AGUA de refuerzo.</li>
<li class="tl">Si alguno de tus ESTADOS llega a cero ¡Pierdes!</li>
</ul>
</section>
<div class="divisor3">
</div>
</div>
<div class="bg">
<!-- Offcanvas ESTADISTICAS -->
<button class="btn btn-primary btn-estadisticas" type="button" data-bs-toggle="offcanvas" data-bs-target="#offcanvasTop" aria-controls="offcanvasTop">
</button>
<div class="offcanvas offcanvas-top px-5 py-1" tabindex="-1" id="offcanvasTop" aria-labelledby="offcanvasTopLabel">
<div class="offcanvas-header">
<h5 class="offcanvas-title" id="offcanvasTopLabel">Estadísticas</h5>
<button type="button" class="btn-close" data-bs-dismiss="offcanvas" aria-label="Close"></button>
</div>
<div class="offcanvas-body">
<div class="d-flex flex-wrap justify-content-center">
<ul class="nav col-12 col-lg-auto my-2 justify-content-between my-md-0 text-small">
<li class="iconos">
<p class="m-1">Hambre</p>
<a>
<svg xmlns="http://www.w3.org/2000/svg" width="50" height="50" fill="seagreen" class="bi bi-apple img-fluid" viewBox="0 0 16 16">
<path d="M11.182.008C11.148-.03 9.923.023 8.857 1.18c-1.066 1.156-.902 2.482-.878 2.516.024.034 1.52.087 2.475-1.258.955-1.345.762-2.391.728-2.43Zm3.314 11.733c-.048-.096-2.325-1.234-2.113-3.422.212-2.189 1.675-2.789 1.698-2.854.023-.065-.597-.79-1.254-1.157a3.692 3.692 0 0 0-1.563-.434c-.108-.003-.483-.095-1.254.116-.508.139-1.653.589-1.968.607-.316.018-1.256-.522-2.267-.665-.647-.125-1.333.131-1.824.328-.49.196-1.422.754-2.074 2.237-.652 1.482-.311 3.83-.067 4.56.244.729.625 1.924 1.273 2.796.576.984 1.34 1.667 1.659 1.899.319.232 1.219.386 1.843.067.502-.308 1.408-.485 1.766-.472.357.013 1.061.154 1.782.539.571.197 1.111.115 1.652-.105.541-.221 1.324-1.059 2.238-2.758.347-.79.505-1.217.473-1.282Z"/>
</svg>
</a>
<p id="hambre">
100
</p>
</li>
<li class="iconos">
<p class="m-1">Sed</p>
<a href="">
<svg xmlns="http://www.w3.org/2000/svg" width="50" height="50" fill="cornflowerblue" class="bi bi-droplet-fill" viewBox="0 0 16 16">
<path d="M8 16a6 6 0 0 0 6-6c0-1.655-1.122-2.904-2.432-4.362C10.254 4.176 8.75 2.503 8 0c0 0-6 5.686-6 10a6 6 0 0 0 6 6M6.646 4.646l.708.708c-.29.29-1.128 1.311-1.907 2.87l-.894-.448c.82-1.641 1.717-2.753 2.093-3.13Z"/>
</svg>
</a>
<p id="sed">
100
</p>
</li>
<li class="iconos">
<p class="m-1">Frío</p>
<a href="">
<svg xmlns="http://www.w3.org/2000/svg" width="50" height="50" fill="aliceblue" class="bi bi-thermometer-snow" viewBox="0 0 16 16">
<path d="M1 2.5a2.5 2.5 0 0 1 5 0v7.55a3.5 3.5 0 1 1-5 0zM3.5 1A1.5 1.5 0 0 0 2 2.5v7.987l-.167.15a2.5 2.5 0 1 0 3.333 0L5 10.486V2.5A1.5 1.5 0 0 0 3.5 1m5 1a.5.5 0 0 1 .5.5v1.293l.646-.647a.5.5 0 0 1 .708.708L9 5.207v1.927l1.669-.963.495-1.85a.5.5 0 1 1 .966.26l-.237.882 1.12-.646a.5.5 0 0 1 .5.866l-1.12.646.884.237a.5.5 0 1 1-.26.966l-1.848-.495L9.5 8l1.669.963 1.849-.495a.5.5 0 1 1 .258.966l-.883.237 1.12.646a.5.5 0 0 1-.5.866l-1.12-.646.237.883a.5.5 0 1 1-.966.258L10.67 9.83 9 8.866v1.927l1.354 1.353a.5.5 0 0 1-.708.708L9 12.207V13.5a.5.5 0 0 1-1 0v-11a.5.5 0 0 1 .5-.5"/>
</svg>
</a>
<p id="frio">
100
</p>
</li>
<li class="iconos">
<p class="m-1">Energía</p>
<a href="">
<svg xmlns="http://www.w3.org/2000/svg" width="50" height="50" fill="goldenrod" class="bi bi-lightning-charge-fill" viewBox="0 0 16 16">
<path d="M11.251.068a.5.5 0 0 1 .227.58L9.677 6.5H13a.5.5 0 0 1 .364.843l-8 8.5a.5.5 0 0 1-.842-.49L6.323 9.5H3a.5.5 0 0 1-.364-.843l8-8.5a.5.5 0 0 1 .615-.09z"/>
</svg>
</a>
<p id="energia">
100
</p>
</li>
</ul>
</div>
</div>
</div>
<!-- Offcanvas MOCHILA -->
<button class="btn btn-primary btn-mochila" type="button" data-bs-toggle="offcanvas" data-bs-target="#offcanvasRight" aria-controls="offcanvasRight">
</button>
<div class="offcanvas offcanvas-end" tabindex="-1" id="offcanvasRight" aria-labelledby="offcanvasRightLabel">
<div class="offcanvas-header p-0">
<h5 class="offcanvas-title" id="offcanvasRightLabel">Mochila</h5>
<button type="button" class="btn-close" data-bs-dismiss="offcanvas" aria-label="Close"></button>
</div>
<div class="offcanvas-body">
<ul>
<li class="mochila">
<p id="comida" class="m-0 mx-auto"><strong>0</strong></p>
<p class="m-0 mx-auto"><strong>Comida</strong></p>
<img src="img/meat_icon.png" class="m-0 mx-auto" width="50" height="50" alt="comer">
</li>
<li class="mochila">
<p id="agua" class="m-0 mx-auto"><strong>0</strong></p>
<p class="m-0 mx-auto"><strong>Agua</strong></p>
<img src="img/agua.png" class="m-0 mx-auto" width="50" height="50" alt="comer">
</li>
<li class="mochila">
<p id="madera" class="m-0 mx-auto"><strong>0</strong></p>
<p class="m-0 mx-auto"><strong>Madera</strong></p>
<img src="img/madera_icon.png" class="m-0 mx-auto" width="50" height="50" alt="comer">
</li>
</ul>
</div>
</div>
<!-- MENU PRINCIPAL -->
<section class="acciones p-5">
<h3 class="tl">Acciones de búsqueda</h3>
<div class="d-flex">
<button id="incursion"class="btn btn-primary btn-acciones tl" type="button">
Incursión
</button>
</div>
<h3 class="tl">Acciones de recuperación</h3>
<!-- COMER -->
<div class="d-flex">
<button id="comer" class="btn btn-primary btn-acciones tl" type="button">
Comer
</button>
</div>
<!-- BEBER -->
<div class="d-flex">
<button id="beber" class="btn btn-primary btn-acciones tl" type="button" data-bs-toggle="collapse" data-bs-target="#collapse-beber" aria-expanded="false" aria-controls="collapseWidthExample">
Beber
</button>
</div>
<!-- FUEGO -->
<div class="d-flex">
<button id="fuego" class="btn btn-primary btn-acciones tl" type="button" data-bs-toggle="collapse" data-bs-target="#collapse-fuego" aria-expanded="false" aria-controls="collapseWidthExample">
Hacer Fuego
</button>
</div>
<!-- DORMIR -->
<div class="d-flex">
<button id="dormir" class="btn btn-primary btn-acciones tl" type="button">
Dormir
</button>
</div>
</section>
<!-- REINICIAR -->
<div class="d-flex">
<button id="reiniciar" class="btn btn-primary btn-acciones tl" type="button">
Reiniciar Juego
</button>
</div>
</div>
</main>
<!-- archivo JS -->
<script src="app.js">
</script>
<!-- Bootstrap -->
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.1/dist/js/bootstrap.bundle.min.js" integrity="sha384-HwwvtgBNo3bZJJLYd8oVXjrBZt8cqVSpeBNS5n7C8IVInixGAoxmnlMuBnhbgrkm" crossorigin="anonymous"></script>
</script>
</body>
</html>