mirror of
https://github.com/clb92/simple-js-snake.git
synced 2025-12-06 01:32:03 +01:00
24 lines
839 B
HTML
24 lines
839 B
HTML
<!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="score"></p>
|
|
<p id="popup-text">Ready?
|
|
<br><small><small>Press Space, ESC or P to begin. Those keys also pause/unpause.</small></small>
|
|
<br><br><small><small><small>Notice: If you resize the window, you'll have to reload the page!</small></small></small>
|
|
</p>
|
|
<div id="overlay"></div>
|
|
</body>
|
|
</html> |