-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsnake.html
27 lines (25 loc) · 1018 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
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta name="author" content="Bram Dekker">
<meta name="description" content="Snake game by Bram Dekker">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>A Snake Game by Bram Dekker</title>
<link rel="stylesheet" type="text/css" href="snake_game_style.css">
</head>
<body>
<div id="score">Score: 0</div>
<footer id="home_page_footer">
<p align="center">Made by Bram Dekker</p>
<p align="center">With help from <a href="
https://medium.freecodecamp.org/think-like-a-programmer-how-to
-build-snake-using-only-javascript-html-and-css-7b1479c3339e" target="_blank">
freecodecamp.org</a>.
</p>
</footer>
<canvas id="gameCan" width="1000" height="1000"
style="border: 2px solid #000000;"><canvas>
<script src="snake_game.js"></script>
</body>
</html>