-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
executable file
·38 lines (28 loc) · 1.46 KB
/
index.html
File metadata and controls
executable file
·38 lines (28 loc) · 1.46 KB
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
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Canvas Snake</title>
<link href='http://fonts.googleapis.com/css?family=Open+Sans:400,300,600,700' rel='stylesheet' type='text/css'>
<link rel="stylesheet" href="assets/normalize.css" type="text/css">
<link rel="stylesheet" href="assets/style.css" type="text/css">
<link rel="stylesheet" href="assets/responsive.css" type="text/css">
<script type="text/javascript" src="assets/js-game.js"></script>
</head>
<body onload="init()">
<header class="main-header">
<h1>Canvas Snake</h1>
</header>
<section>
<h2>Written by Rory Drysdale</h2>
<p>Use the arrow keys to control the snake. Collect apples while avoiding the walls and any surprises you leave behind. Have fun!</p>
<canvas id="canvas" width="600" height="450">Sorry your browser doesn't support html 5</canvas>
<p id="too-small">Sorry, your screen size is not supported yet. Check back soon!</p>
<p>I wrote canvas snake as a way to learn about JavaScript and the HTML 5 canvas element during the finals of my first year of school, productive procrastination at its finest.</p>
</section>
<footer class="main-footer">
<p>Copyright © 2014 Rory Drysdale</p>
</footer>
</body>
</html>