-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
34 lines (34 loc) · 1.04 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Snake and Ball</title>
<link rel="stylesheet" href="style.css">
<script src="jQuery.min.js"></script>
<script src="jCanvas.min.js"></script>
<script src="script.js"></script>
</head>
<body>
<div class="flexed">
<div class="content">
<canvas id="gameArea" width="576" height="578">
</canvas>
</div>
<div class="sidebar">
<div id="gameover" class="alert">Game Over</div>
<div id="PlayPause" class="play">Play</div>
<div class="show">Score : <span id="score">0</span></div>
<div>
<div class="action" id="up"> UP </div>
<br>
<div class="action" id="left"> LEFT </div>
<div class="action" id="right"> RIGHT </div>
<br>
<div class="action" id="down"> DOWN </div>
</div>
</div>
</div>
</body>
</html>