Initial commit

This commit is contained in:
clb92
2016-07-05 21:02:51 +02:00
commit 55bfd6e774
7 changed files with 492 additions and 0 deletions

20
index.html Normal file
View File

@@ -0,0 +1,20 @@
<!doctype html>
<html>
<head>
<title>Snake</title>
<meta charset="utf-8">
<link rel="stylesheet" type="text/css" href="css/styles.css">
<script src="js/resources.class.js"></script>
<script src="js/snake.class.js"></script>
<script src="js/canvas.class.js"></script>
<script src="js/game.class.js"></script>
<script src="js/snake.js"></script>
</head>
<body id="body">
<canvas id="gameCanvas">
<p class="error">Your browser does not support HTML5 Canvas!</p>
</canvas>
<p id="popup-text">Ready?<br><small><small>Press Space, ESC or P to begin. Those keys also pause/unpause.</small></small></p>
<div id="overlay"></div>
</body>
</html>