-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
39 lines (32 loc) · 1.38 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
27
28
29
30
31
32
33
34
35
36
37
38
39
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href="https://fonts.googleapis.com/css2?family=Play:wght@700&display=swap" rel="stylesheet">
<link href="https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap" rel="stylesheet">
<link rel="stylesheet" href="/css/styles.css">
<title>Ghost Town</title>
</head>
<body onload="booAudio()">
<h1 data-text="ghost town"><span>Ghost Town</span></h1>
<div class="container">
<h2 class="neon">How to Play</h2>
<div class="controls">
<img src="img/arrows.png" alt="keys" width="200" height="100">
<img src="/img/Key_space_Icon.png" alt="" width="200" height="100">
</div>
<button class="btn neon">Play</button>
<div class="gif"></div>
</div>
<img class="game-over" src="/img/GameOver.png" alt="Game Over" style="display: none;" width="800">
<button type="reset" class="reset" style="display: none;">Play Again!</button>
<div class="game" style="display: none">
<canvas id="canvas" width="1000" height="650"></canvas>
</div>
<script src="https://cdnjs.cloudflare.com/ajax/libs/axios/0.20.0/axios.min.js"
integrity="sha512-quHCp3WbBNkwLfYUMd+KwBAgpVukJu5MncuQaWXgCrfgcxCJAq/fo+oqrRKOj+UKEmyMCG3tb8RB63W+EmrOBg=="
crossorigin="anonymous"></script>
<script src="app.js"></script>
</body>
</html>