snek/index.html

24 lines
614 B
HTML
Raw Normal View History

2017-10-10 12:57:38 +00:00
<!DOCTYPE html>
<html lang="en">
2017-10-10 12:57:38 +00:00
<head>
<title>snek</title>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="stylesheet" href="style.css" />
<script src="script.js" defer></script>
</head>
2017-10-10 12:57:38 +00:00
<body>
<canvas id="canvas" height="375" width="375"></canvas>
<br /><br />
<span id="info">welcome to snek!</span><br />
<span id="highscore"></span>
<ul>
<li>use arrow keys to move the snek</li>
<li>try to eat the apple</li>
<li>dont crash into yourself or the edges</li>
</ul>
2017-10-10 12:57:38 +00:00
</body>
</html>