-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
26 lines (23 loc) · 1.04 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
<html>
<head>
<title>The Dungeon</title>
<meta charset="utf-8">
<link href="https://fonts.googleapis.com/css?family=Rock+Salt&display=swap" rel="stylesheet">
<script src='js/config.js'></script>
<script src='js/player.js'></script>
<script src='js/enemy.js'></script>
<script src='js/torch.js'></script>
<script src='js/level.js'></script>
<script src='js/input.js'></script>
<script src='js/game.js'></script>
</head>
<body style="background-color: #9c9086;">
<div style="text-align: center;">
<h1 style="text-align: center; font-family: 'Rock Salt', cursive;">Welcome To The Dungeon</h1>
<p>Use the arrow keys to move the player, find the key and scape without being caught.</p>
<p>If you want to use your gamepad attach it to the computer and press a button. You can use the analog stick to control the player</p>
<p>Press "P" to Pause/Resume the game.</p>
<canvas id='canvas' style='border:2px solid #000000; background-color: #000000;'></canvas>
</div>
</body>
</html>