-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
executable file
·54 lines (46 loc) · 2.02 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="fa" dir="ltr">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="./css/style.css">
<title>SNAKE</title>
<script src="js/app.js" defer></script>
</head>
<body>
<div class="game-wrapper">
<div class="game-touch-wrapper"></div>
</div>
<div class="score-container">
<div class="current-score"></div>
<div class="best-score"></div>
</div>
<button class="stop-btn" data-onclick="stop"></button>
<div class="menu-container hide">
<div class="menu-header">
<h1 class="menu-title">بازی مارا</h1>
<div class="menu-subtitle">بالاترین امتیاز: ۰</div>
</div>
<nav class="game-menu start-menu" data-menu="start">
<button class="btn menu-btn" data-onclick="restart" data-speed="250">آسان</button>
<button class="btn menu-btn" data-onclick="restart" data-speed="150">متوسط</button>
<button class="btn menu-btn" data-onclick="restart" data-speed="75">سخت</button>
<hr class="o0">
<a data-onclick="displayMenu" data-menu="about">دربارهٔ بازی</a>
</nav>
<nav class="game-menu stop-menu" data-menu="stop">
<button class="btn menu-btn" data-onclick="start">ادامه بازی</button>
<button class="btn menu-btn" data-onclick="displayMenu" data-menu="start">خروج از بازی</button>
</nav>
<nav class="game-menu about-menu" data-menu="about">
<p>توسعه دهنده: محمدمهدی واحدی</p>
<a class="btn menu-btn" href="https://mimvahedi.github.io">سایر پروژهها</a>
<hr class="o0">
<button class="btn menu-btn" class="btn menu-btn" data-onclick="displayMenu" data-menu="start">بازگشت</button>
</nav>
</div>
</body>
</html>
<body>
</body>