-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
81 lines (69 loc) · 2.38 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
<!DOCTYPE html>
<html lang="es">
<head>
<meta charset="utf-8">
<title>Snake</title>
<link rel="stylesheet" type="text/css" href="css/estilos.css">
</head>
<body>
<header>
<h1 class="center titulo">Snake Game</h1>
</header>
<div class="container">
<div class="config">
<div class="config-heading">
<h3 class="center">Configuraciones</h3>
</div>
<div class="config-body">
<ul class="list-config">
<li>
Color personaje:
<div class="choose-color">
<label for="spinColorRojo">Rojo:</label><br />
<input type="range" name="spinColorRojo" id="spinColorRojo" value="0" min="0" max="255" step="1" />
<br />
<label for="spinColorVerde">Verde:</label><br />
<input type="range" name="spinColorVerde" id="spinColorVerde" value="0" min="0" max="255" step="1" />
<br />
<label for="spinColorAzul">Azul:</label><br />
<input type="range" name="spinColorAzul" id="spinColorAzul" value="0" min="0" max="255" step="1" />
</div>
</li>
<li>
Color comida:
<div class="choose-color">
<label for="spnColorFoodRed">Rojo:</label><br />
<input type="range" name="spnColorFoodRed" id="spnColorFoodRed" value="255" min="0" max="255" step="1" />
<br />
<label for="spnColorFoodGreen">Verde:</label><br />
<input type="range" name="spnColorFoodGreen" id="spnColorFoodGreen" value="0" min="0" max="255" step="1" />
<br />
<label for="spnColorFoodBlue">Azul:</label><br />
<input type="range" name="spnColorFoodBlue" id="spnColorFoodBlue" value="0" min="0" max="255" step="1" />
</div>
</li>
<li>
Aparición de comida:
<div class="choose-option">
<input type="radio" name="rdoAparicion[]" id="rdo1" value="0" checked="true" />
<label for="rdo1">Simultáneamente</label>
<input type="radio" name="rdoAparicion[]" id="rdo2" value="1" />
<label for="rdo2">Luego de haber comido</label>
</div>
</li>
<li>
Nivel:
<select name="cboLevelGame" id="cboLevelGame">
<option value="5">Fácil</option>
<option value="15">Medio</option>
<option value="30">Difícil</option>
</select>
</li>
</ul>
</div>
</div>
</div>
<canvas id="cnvLienzo" height="300" width="500"></canvas>
<script type="text/javascript" src="js/funciones.js"></script>
</body>
</html>