-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
94 lines (80 loc) · 3 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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta http-equiv="X-UA-Compatible" content="ie=edge" />
<link rel="stylesheet" href="./dist/reset.css" />
<link rel="stylesheet" href="./dist/main.css" />
<link rel="icon" type="image/x-icon" href="./images/favicon/cube_no_back.ico">
<link rel="shovels" type="html" href="./images.html">
<script src="./dist/main.js" defer></script>
<title>Block-Out</title>
</head>
<body>
<div class="main">
<div class="left">
<div class="header">
<h1>Block-Out</h1>
<div class="links">
<a href="https://github.com/Luckyleck/JS-Project">
<img id="github" src="./images/misc/github_no_middle.png" alt="github link" />
</a>
<a href="https://www.linkedin.com/in/alexthelecky1875273/">
<img id="linkedIn" src="./images/misc/linked-in-logo.png" alt="linked-in-logo" />
</a>
<h2>Made by Alex Lecky</h2>
</div>
</div>
<div class="welcome">
<p>
Welcome to Block-Out. In this game, you and your opponent are on a
floating patch of earth in the sky.
<br />
<br />
To win the game, you must break the
ground beneath your opponent while also being careful not to fall into any holes yourself. Also, watch out! The field shrinks!
</p>
</div>
<div class="controls">
<div class="player-1">
<h2>Player 1 Controls</h2>
<div class="keys">
<p>Move</p>
<p>Break</p>
</div>
<div class="player-controls">
<img src='./images/misc/WASD_color.png' alt="movement player 1">
<img id="spacebar" src='./images/misc/spacebar-color.png' alt="break player 1">
</div>
</div>
<div class="player-2">
<h2>Player 2 Controls</h2>
<div class="player-controls">
<img src='./images/misc/Arrows_color.png' alt="movement player 2">
<img id="enter-key" src='./images/misc/return_color.png' alt="break player 2">
</div>
</div>
</div>
<div class="bottom">
<p>Player 1 is red</p>
<p>Player 2 is blue</p>
<p>Rambo (AI) is yellow</p>
</p>
</div>
</div>
<!-- <img id="playerImg" src="./images/misc/No_background_shovel.png" style="display: none;"> -->
<div class="right">
<div class="game-buttons">
<button id="spawn-btn-player">Multiplayer</button>
<button id="spawn-btn-ai">Single Player</button>
</div>
<h1 id="win-message" class="win-message"></h1>
<div class="play-again">
<button id="play-again">Play Again?</button>
</div>
<canvas id="canvas" height="800" width="1200">Canvas is broken</canvas>
</div>
</div>
</body>
</html>