33 lines
725 B
HTML
33 lines
725 B
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<title>My Snake</title>
|
|
<link rel="stylesheet" href="assets/style.css">
|
|
</head>
|
|
<body>
|
|
|
|
<div id="backlayer"></div>
|
|
|
|
<div id="startScreen">
|
|
<h1>My Snake</h1>
|
|
|
|
Please choose a level:
|
|
<ul id="levelChoice"></ul>
|
|
|
|
<p>Use the arrows to navigate. Press p to make a pause.</p>
|
|
</div>
|
|
|
|
|
|
<div id="gameScreen">
|
|
<p>Score: <span id="scoreTarget"></span></p>
|
|
|
|
<div id="canvasTarget"></div>
|
|
|
|
<input type="button" id="stopGameBtn" value="Stop game">
|
|
</div>
|
|
|
|
<script src="script.js"></script>
|
|
</body>
|
|
</html> |