mirror of
https://github.com/clb92/simple-js-snake.git
synced 2025-12-06 01:32:03 +01:00
Initial commit
This commit is contained in:
20
index.html
Normal file
20
index.html
Normal 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>
|
||||
Reference in New Issue
Block a user