-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
41 lines (38 loc) · 1.22 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
<!DOCTYPE html>
<head>
<meta charset="UTF-8">
<link rel="stylesheet" href="styles.css">
<link rel="icon" type="image/png" href="images/snake.png">
<title>Snake Game</title>
</head>
<body>
<h2 class="title">🐍 Snake Game</h2>
<div class="play-buttons">
<div class="button-play" onclick="changePause(false)">
<button class="button play"></button>
</div>
<div class="button-play margin" onclick="changePause(true)">
<i class="gg-play-pause">
<i class="gg-play-pause-line"></i>
<i class="gg-play-pause-line"></i>
</i>
</div>
<div class="button-play" onclick="loadNewGame()">
<i class="gg-play-stop"></i>
</div>
</div>
<div class="center">
<canvas id="canvas"></canvas>
</div>
<div class="relative center" id="full-container">
<div class="wrapper">
<div class="container">
<h2>¡HAS PERDIDO!</h2>
<p id="mensaje"></p>
<button id="buttonNewGame" class="botonNuevoJuego" onclick="loadNewGame()">New Game</button>
</div>
</div>
</div>
<script src="index.js"></script>
</body>
</html>