-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
47 lines (42 loc) · 2.19 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
<!DOCTYPE html>
<html lang="en">
<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, maximum-scale=1,user-scalable=0">
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.2.1/dist/css/bootstrap.min.css" rel="stylesheet"
integrity="sha384-iYQeCzEYFbKjA/T2uDLTpkwGzCiq6soy8tYaI1GyVh/UjpbCx/TYkiZhlZB6+fzT" crossorigin="anonymous">
<title>Snake Game</title>
<link rel="stylesheet" href="Styles/master.css">
<link rel="shortcut icon" href="Images/snake_icon.png" type="image/x-icon">
</head>
<body>
<div class="main bg-none card container my-2 mx-auto rounded">
<h1 class="text-center pt-2">SNAKE GAME</h1>
<h2 class="text-center">Score: <span class="score">0</span></h2>
<div class="board shadow-lg border-dark mx-auto">
<div class="playForm card shadow-lg my-5 rounded">
<h3 class="mx-auto">Let's Have Some Fun!</h3>
<span class="mx-auto">
<h5 class="my-4 pd-1">High Score: <span class="highScore">0</span></h5>
<div class="withWallDiv">
<input type="checkbox" class="withwall form-check-input" checked>
<span class="mx-4">With Wall</span>
</div>
</span>
<input type="button" value="Play" class="play mt-3 btn btn-success">
</div>
</div>
<span class="time">00:00:00</span></span>
<span class="lvl">Level - 1</span>
<div class="mobileButtons mx-auto btn-group">
<input type="button" class="arrowLEFT btn btn-dark" value="←">
<input type="button" class="arrowUP btn btn-dark" value="↑">
<input type="button" class="arrowDOWN btn btn-dark" value="↓">
<input type="button" class="arrowRIGHT btn btn-dark" value="→">
</div>
<script src="JS/dom.js" type="module"></script>
<script src="JS/mobile.js" type="module"></script>
<script src="JS/snakeGame.js" type="module"></script>
</body>
</html>