-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
54 lines (54 loc) · 2.14 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no" />
<title>Snake</title>
<meta name="description" content="Classic Snake Game" />
<meta property="og:title" content="Classic Snake Game" />
<meta property="og:description" content="Play the classic snake game online." />
<meta property="og:image" content="path/to/your/image.png" />
<meta property="og:url" content="https://denisknk.github.io/Classic-Snake/" />
<link rel="icon" href="./favicon.ico" />
<link href="https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;800&display=swap" rel="stylesheet">
<link rel="stylesheet" href="./style.css" />
</head>
<body>
<div class="snake_parent_wrapper">
<div class="start_game">
<header class="start_header">
<div class="start_food_cell snake_block_wrapper" aria-label="Food Cell"></div>
<h1>SNAKE</h1>
<div class="start_food_cell snake_block_wrapper" aria-label="Food Cell"></div>
</header>
<div class="info">CHOOSE LEVEL :</div>
<div class="choose_level">
<span class="easy" role="button" tabindex="0">EASY</span>
<span class="medium" role="button" tabindex="0">MEDIUM</span>
<span class="hard" role="button" tabindex="0">HARD</span>
</div>
</div>
<div class="overlay" role="alert">
<p>GAME</p>
<p>OVER!</p>
<div class="restart-icon" aria-label="Restart"></div>
</div>
<div class="count" aria-live="polite">0</div>
<div class="best_score" aria-live="polite">0</div>
</div>
<footer class="footer_wrapper">
<div class="horizontal_wrapper_1">
<button class="button_up button" aria-label="Move Up">↑</button>
</div>
<div class="horizontal_wrapper_2">
<button class="button_left button" aria-label="Move Left">←</button>
<button class="button_right button" aria-label="Move Right">→</button>
</div>
<div class="horizontal_wrapper_3">
<button class="button_down button" aria-label="Move Down">↓</button>
</div>
</footer>
<script type="application/javascript" src="./fastclick.js"></script>
<script src="./index.js"></script>
</body>
</html>