-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
115 lines (106 loc) · 8.13 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
<!DOCTYPE html>
<html data-theme="light" lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, height=device-height, initial-scale=1.0, user-scalable=0">
<link rel="stylesheet" href="css/reset.css">
<link rel="stylesheet" href="css/style.css">
<link href="https://fonts.googleapis.com/css2?family=Bubblegum+Sans&display=swap" rel="stylesheet">
<link href="https://fonts.googleapis.com/css2?family=Boogaloo&display=swap" rel="stylesheet">
<link rel="shortcut icon" href="img/logoa.png" type="image/x-icon" />
<script src="https://kit.fontawesome.com/0a525ee5a7.js"></script>
<title>Juego Ahorcado | Alura Challanges - Oracle ONE</title>
<meta name="description" content="Adivina la palabra secreta">
<!-- Open Graph Facebook -->
<meta property="og:title" content="Juego Ahorcado | Alura Challanges - Oracle ONE">
<meta property="og:type" content="website">
<meta property="og:url" content="https://gonadr09.github.io/Juego-Ahorcado-Alura/">
<meta property="og:image" content="https://raw.githubusercontent.com/gonadr09/Juego-Ahorcado-Alura/master/img/logo-ahorcado-dl-1500.png">
<meta property="og:image:secure_url" content="https://raw.githubusercontent.com/gonadr09/Juego-Ahorcado-Alura/master/img/logo-ahorcado-dl-1500.png" />
<meta property="og:image:type" content="image/png" />
<meta property="og:image:width" content="300" />
<meta property="og:image:height" content="300" />
<meta property="og:description" content="Adivina la palabra secreta">
<meta property="og:site_name" content="Juego Ahorcado | Alura Challanges - Oracle ONE">
<meta property="og:image:alt" content="Logo Ahorcado">
<!-- Twitter Card -->
<meta property="twitter:domain" content="https://gonadr09.github.io/Juego-Ahorcado-Alura/">
<meta name="twitter:title" content="Juego Ahorcado | Alura Challanges - Oracle ONE">
<meta name="twitter:description" content="Adivina la palabra secreta">
<meta name="twitter:creator" content="@diaz_rusconi">
<meta name="twitter:image" content="https://raw.githubusercontent.com/gonadr09/Juego-Ahorcado-Alura/master/img/logo-ahorcado-dl-1500.png">
<!-- Schema.org para Google+ -->
<meta itemprop="name" content="Juego Ahorcado | Alura Challanges - Oracle ONE">
<meta itemprop="description" content="Adivina la palabra secreta">
<meta itemprop="image" content="https://raw.githubusercontent.com/gonadr09/Juego-Ahorcado-Alura/master/img/logo-ahorcado-dl-1500.png">
</head>
<body>
<div id="screen" class="screen-one"></div>
<header>
<div id="header-div">
<div id="logo-box">
<svg width="32" height="48" viewBox="0 0 32 48" fill="none" xmlns="http://www.w3.org/2000/svg">
<path id="logo" fill-rule="evenodd" clip-rule="evenodd" d="M23.3958 23.6529C23.3524 23.9311 23.2466 24.1959 23.0863 24.4275C22.926 24.659 22.7154 24.8512 22.4703 24.9898C21.9766 25.3086 21.5447 25.468 21.1077 25.6274C20.177 25.9488 19.1974 26.2702 18.1613 26.643C17.0687 27.0157 16.0891 27.3885 15.215 27.6585C14.1249 28.0313 13.0888 28.3526 12.1041 28.7254C11.3633 29.0425 10.6674 29.4556 10.0345 29.9544C9.44584 30.4877 8.93212 31.0983 8.50734 31.7695C8.07027 32.515 7.79518 33.4766 7.79518 34.5975C7.79518 36.842 8.34022 38.5491 9.43289 39.6161C10.523 40.7396 12.5438 41.2718 15.5389 41.2718C18.5933 41.2718 20.6655 40.6856 21.7607 39.5107C22.8482 38.3357 23.3932 36.6826 23.3932 34.5487V23.6529H23.3958ZM15.5415 0C20.8891 0 24.815 1.01553 27.3217 3.09802C29.831 5.12908 31.0856 7.74119 31.0856 10.8366V37.2148C31.0856 38.2817 30.8696 39.4567 30.4891 40.737C30.1035 42.0225 29.3425 43.1949 28.1418 44.2592C26.9977 45.3313 25.4166 46.2389 23.3984 46.933C21.3802 47.6272 18.7629 48 15.5441 48C12.3304 48 9.70798 47.6272 7.69234 46.933C5.6767 46.2389 4.09298 45.3313 2.9489 44.2592C1.8846 43.3001 1.07834 42.089 0.604178 40.737C0.218532 39.4592 0 38.2843 0 37.2174V33.001C0 30.7565 0.599036 28.674 1.79968 26.8563C3.00032 24.9898 4.68945 23.7095 6.8722 22.9073C7.96229 22.5345 9.21693 22.1618 10.6335 21.681C12.0527 21.1976 13.3588 20.7169 14.6699 20.2927C15.9811 19.8633 17.1252 19.434 18.1048 19.0586C18.6959 18.8221 19.2963 18.6094 19.9044 18.421L20.8866 17.9402C21.2722 17.7268 21.6501 17.4055 22.0332 16.9787C22.4137 16.5545 22.7402 16.0737 23.0153 15.5389C23.306 14.9599 23.4557 14.3203 23.4524 13.6724V11.9627C23.4564 11.3361 23.3249 10.716 23.0667 10.145C22.8508 9.5023 22.4137 8.91612 21.8147 8.38393C21.2156 7.84917 20.3955 7.42239 19.416 7.09845C18.4338 6.78222 17.1278 6.62025 15.6521 6.62025C12.5977 6.62025 10.5795 7.21157 9.48945 8.43535C8.5639 9.50488 8.01885 10.8392 7.91087 12.3329C7.91087 12.6543 7.63835 12.8677 7.30927 12.8677L0.658168 12.9757C0.500177 12.9764 0.348309 12.9146 0.235632 12.8039C0.122956 12.6931 0.0585941 12.5423 0.0565613 12.3844V10.8418C0.0565613 9.3429 0.331655 7.95458 0.930691 6.62025C1.5323 5.28334 2.46042 4.16497 3.71248 3.20086C4.96711 2.24189 6.60482 1.44231 8.56647 0.907552C10.4767 0.26481 12.8214 0 15.5466 0H15.5415Z" fill="rgb(7, 45, 100)"></path>
</svg>
</div>
<div id="dark-mode-box">
<p id="theme-icon">MODO 🌘</p>
<label id="switch1" class="switch">
<input id="myCheck" type="checkbox">
<span class="slider round"></span>
</label>
</div>
</div>
</header>
<main class="flex-col-space">
<section id="begin-section" class="flex-col-center">
<button id="play-game" class="button blue"> Iniciar juego 🕹️</button>
<button id="add-new-word" class="button grey">Agregar nueva palabra</button>
</section>
<section id="new-word-section" class="flex-col-space">
<input id="new-word-input" type="text" placeholder="Escribe una palabra ..." autocomplete="off">
<div id="new-word-buttons-box">
<div id="warning" class="flex-row-center">
<!-- <img src="img/exclamation-circle.svg" alt="advertencia"> -->
<p>🚫 Máximo 14 caracteres</p>
</div>
<div id="confirm-new-word"></div>
<button id="new-word-save" class="button blue">Guardar 📝</button>
<button id="new-word-cancel" class="button grey">Empezar a jugar 🕹️</button>
</div>
</section>
<section id="game-section" class="flex-col-center">
<div id="hanged-box">
<canvas width="355" height="355"></canvas>
<div id="final-msg-box" class="flex-col-center"></div>
</div>
<div id="right-words-box" class="flex-col-center"></div>
<div id="wrong-words-box" class="flex-col-center"></div>
<div id="secret-word-box" class="flex-col-center"></div>
<div id="keyboard-box">
<div id="line1" class="flex-row-center"></div>
<div id="line2" class="flex-row-center"></div>
<div id="line3" class="flex-row-center"></div>
</div>
<div id="game-buttons-box">
<button id="new-game" class="button blue">Nuevo juego 🕹️</button>
<button id="desist" class="button grey">Desistir 😶</button>
</div>
</section>
</main>
<footer id="footer1" class="flex-col-center">
<p>Challange Alura - Oracle ONE | Realizado por Gonzalo Díaz Rusconi</p>
<ul>
<li><a href="https://twitter.com/diaz_rusconi" target="_blank"><i class="fa-brands fa-twitter"></i></a></li>
<li><a href="https://www.instagram.com/gonaa09/?hl=es-la" target="_blank"><i class="fab fa-instagram"></i></a></li>
<li><a href="https://github.com/gonadr09" target="_blank"><i class="fab fa-github"></i></a></li>
<li><a href="https://www.linkedin.com/in/gonzalo-d%C3%ADaz-rusconi-9519bba2/" target="_blank"><i class="fab fa-linkedin"></i></a></li>
</ul>
</footer>
<script src="js/words-list.js"></script>
<script src="js/new-word.js"></script>
<script src="js/game.js"></script>
<script src="js/script.js"></script>
</body>
</html>