-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
87 lines (85 loc) · 3.05 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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
<!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="Play Snake Game" />
<meta property="og:description"
content="Snake Game By Vishal Mishra" />
<meta property="og:type" content="Website" />
<meta property="og:url" content="https://playsnakegame090.netlify.app/" />
<meta property="og:image" content="https://playsnakegame090.netlify.app/images/snakelogo.jpg" />
<meta name="mobile-web-app-capable" content="yes">
<link rel="manifest" href="manifest.json">
<title>Play Snake Game</title>
<link href="https://fonts.googleapis.com/css2?family=Fredoka+One&display=swap" rel="stylesheet">
<link rel="stylesheet" href="css/style.css">
<link rel="shortcut icon" href="images/snake.svg" type="image/x-icon">
</head>
<body>
<div id="home-container">
<div id="home">
<div id="game-logo">
<div id="game-img">
<img src="images/snake.svg" alt="Play Snake Game">
</div>
<div id="game-title">
Play Snake Game
</div>
</div>
<button id="startGame">Start</button>
</div>
<div id="owner">Made By <a href="https://github.com/vishalmishra090">Vishal Mishra</a></div>
</div>
<main>
<div id="game-container">
<div id="wrapbox">
<div id="gameBox">
<div id="scoreArea" class = "row">
<div id="score"></div>
<div id="speed"></div>
</div>
<div id="gameArea" class = "row">
</div>
</div>
</div>
</div>
</main>
<div id="buttonArea">
<div id="btnRow1" class="btn">
<button id="restart">R</button>
<button id="up">⬆</button>
<button id="sound">S</button>
</div>
<div id="btnRow2" class="btn">
<button id="left">⬅</button>
<button id="pause">P</button>
<button id="right">➡</button>
</div>
<div id="btnRow3" class="btn">
<button id="none">n</button>
<button id="down">⬇</button>
<button id="fullscreen">F</button>
</div>
</div>
<div id="playAgainBox">
<button id="playAgain">Play Again</button>
</div>
<div id="restartBox">
<p>Do You Want To Restart The Game?</p>
<button id="cancle">cancle</button>
<button id="ok">ok</button>
</div>
<div id="preload" style="display: none;">
<img src="images/play.svg">
<img src="images/pause.svg">
<img src="images/snake.svg">
<img src="images/restart.svg">
<img src="images/sound-on.svg">
<img src="images/sound-off.svg">
<img src="images/fullscreen.svg">
</div>
<script src="script/jquery.min.js"></script>
<script src="script/snake-game.js"></script>
</body>
</html>