-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
35 lines (31 loc) · 1.33 KB
/
index.html
File metadata and controls
35 lines (31 loc) · 1.33 KB
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta property="og:title" content="Snake game - Web">
<meta property="og:description" content="Fun clasic snake game">
<meta property="og:type" content="website">
<meta property="og:url" content="https://lufebadeca.github.io/snakeWeb/">
<meta property="og:image" content="https://github.com/lufebadeca/snakeWeb/blob/main/snapshot.png?raw=true">
<title>Classic Snake Game</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<div class="wrapper">
<div class="game-details">
<div class="score">Score: 0</div>
<img class="soundIcon " src="./sound.webp" alt="Sound" width="28px" height="20px">
<div class="high-score">Highest score: 0</div>
</div>
<div class="play-board">
<!-- JS-written grid component -->
</div>
</div>
<audio id="correctSound" src="./sounds/correct.wav" preload="auto"></audio>
<audio id="wrongSound" src="./sounds/wrong.wav" preload="auto"></audio>
<audio id="gameOverSound" src="./sounds/game-over.wav" preload="auto"></audio>
<audio id="musicSound" src="./sounds/music.mp3" preload="auto"></audio>
<script src="script.js"></script>
</body>
</html>