-
Notifications
You must be signed in to change notification settings - Fork 0
/
snake.html
28 lines (26 loc) · 853 Bytes
/
snake.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
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, height=device-height, initial-scale=1.0">
<meta name="description" content="Snake Game">
<meta name="keywords" content="SnakeGame, Snake, Game, Javascript game">
<meta name="author" content="Gabriel Theophilo @ github.com/gabrieltheophilo">
<link rel="stylesheet" href="snake.css">
<title>Snake Game</title>
<style>
body {
margin: 0;
padding: 0;
overflow: hidden;
}
</style>
</head>
<body>
<div id="test">
</div>
<script type="text/javascript" src="snake.js"></script>
<img class="sprite" id="source" src="assets/snake.png">
<img class="sprite" id="source2" src="assets/food.png">
</body>
</html>