-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
78 lines (73 loc) · 3.13 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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta property="og:title" content="Survive!" />
<meta property="og:image" content="./src/images/gameplay.gif" />
<meta property="og:description" content="Survive! is a 2D arcade game where you must defeat the skeletons and survive as long as you can" />
<meta property="og:url" content="https://programmer.github.io/project_name" />
<link rel="icon" href="src/images/favicon.ico">
<link rel="stylesheet" href="./dist/main.css" />
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap" rel="stylesheet">
<script src="./dist/main.js"></script>
<title>Survive!</title>
</head>
<body>
<div class="title">
<div class="animate">
<h1>SURVIVE!</h1>
</div>
</div>
<div class="main-wrapper">
<div class="controls">
<h2>Controls</h2>
<div class="keyboard-input">
<img src="src/images/arrowup.png" width="50" height="50"/>
<span>MOVE UP</span>
</div>
<div class="keyboard-input">
<img src="src/images/arrowdown.png" width="50" height="50" />
<span>MOVE DOWN</span>
</div>
<div class="keyboard-input">
<img src="src/images/arrowleft.png" width="50" height="50" />
<span>MOVE LEFT</span>
</div>
<div class="keyboard-input">
<img src="src/images/arrowright.png" width="50" height="50" />
<span>MOVE RIGHT</span>
</div>
<div class="keyboard-input">
<img src="src/images/spacebar.png" width="100" height="50" />
<span>SHOOT</span>
</div>
<div class="keyboard-input">
<img src="src/images/p.png" width="50" height="50" />
<span>PAUSE</span>
</div>
</div>
<canvas id="game" width="864" height="576"></canvas>
<div class="instructions">
<span>Instructions</span>
<p>
After being on the run from monsters for days, you've run into a
dead end. With the your remaining energy, destroy as many skeletons
as you can! Will you be overwhlemed, or will you survive?
</p>
<br/>
<p>
After every 10 skeletons you destroy, the new ones will get stronger.
Once you run out of health, its game over!
</p>
</div>
</div>
<div class="nav-links">
<a href="https://github.com/linb1" target="_blank"> <img src="src/images/github.png" width="50" height="50"/> </a>
<a href="https://www.linkedin.com/in/brian-lin-1590/" target="_blank"> <img src="src/images/linkedin.png" width="50" height="50"/> </a>
</div>
</body>
</html>