-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
26 lines (26 loc) · 775 Bytes
/
index.html
File metadata and controls
26 lines (26 loc) · 775 Bytes
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
<!DOCTYPE html>
<html>
<head>
<title>Juego de la Culebrita</title>
<link rel="stylesheet" type="text/css" href="style.css">
</head>
<body>
<div class="container">
<h1>Juego de la Culebrita</h1>
<canvas id="gameCanvas" width="400" height="400"></canvas>
<div id="score">Puntos: 0</div>
<button id="startButton">Iniciar</button>
<div id="controls">
<button id="upButton">↑</button>
<button id="downButton">↓</button>
<button id="leftButton">←</button>
<button id="rightButton">→</button>
</div>
<div id="speedControl">
<label for="speedRange">Velocidad:</label>
<input type="range" id="speedRange" min="1" max="10" value="5">
</div>
</div>
<script src="script.js"></script>
</body>
</html>