-
Notifications
You must be signed in to change notification settings - Fork 2
/
main2.html
43 lines (40 loc) · 1.36 KB
/
main2.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
<!DOCTYPE html>
<html lang="en">
<head>
<title>Snek game</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="icon" type="image/png" href="icon.png">
<link rel="stylesheet" href="style.css">
</head>
<body>
<div id="game" class="main">
<div id="big">
Drover's wife as a video game. Play as the Drover's Wife and defeat the evil snakes.
<strong>Select Level:</strong><br>
<button onclick="loadLevel('STDV1')"><h3>Start game</h3></button><br>
<p>
<strong>Objective:</strong><br>
• Survive against endless waves of snakes <br>
<strong>Controls:</strong><br>
WASD to move <br>
left click to use main weapon <br>
[SHIFT] to move slightly faster <br>
Q to toggle shield generator (if you have one) <br>
<strong>Bugs:</strong><br>
• The game runs in slow motion (lag) and some weapons aren't balanced properly yet. <br>
</p>
</div>
</div>
<div id="overlay">
<div id="upgradesOverlay">
</div>
<div id="buttonGrid">
</div>
</div>
<div id="controlPannel">
</div>
<div id="data">
</div>
</body>
<script src="game2.js"></script>