-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
45 lines (38 loc) · 1.24 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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
<title>Snake</title>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css">
<link href="lib/style.css" rel="stylesheet">
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.7/jquery.min.js"></script>
</head>
<body>
<header>
<h1 id="title">SNAKE</h1>
<h1 id="score">Score: <span>0</span></h1>
<h1 id="github"><a href="https://github.com/Dmitry1007/snake-time/tree/gh-pages">GitHub</a></h1>
</header>
<div class="game-container">
<div class="canvas-frame">
<canvas id="canvas"></canvas>
</div>
<div class="control-buttons">
<button id=38><i class="fa fa-arrow-up"></i></button><br/>
<button id=37><i class="fa fa-arrow-left"></i></button>
<button id=40><i class="fa fa-arrow-down"></i></button>
<button id=39><i class="fa fa-arrow-right"></i></button>
</div>
</div>
<div id="overlay">
<div id="start-game">
<h2>Start Game</h2>
<h2 id="score">Score: <span>0</span></h2><br><br>
<button id="play-again">PLAY</button>
</div>
</div>
<script src="main.bundle.js">
</script>
</body>
</html>