-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
45 lines (45 loc) · 1.97 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="roborebels.css">
<link rel="shortcut icon" href="robot.ico" type="image/x-icon">
<title>RoboRebels</title>
</head>
<body>
<canvas id="zone" width="1000" height="900" onclick="shoot(event)"></canvas>
<div class='notice' id="walltip" style="display: block;">
<h1>Shoot through Walls</h1>
<p>it seems that window is made of Bulletproof glass. <br>
steel pillars are also not penetrable with our gun<br>
But your bullet can pierce through concrete easily. <br>
consider shooting while robot is behind brick walls</p>
<button onclick="restartGame()">Okay, Let's Start</button>
</div>
<div class='notice' id="returninguser">
<h1>Glad To See You Again</h1>
<p>We remember how You successfully conquered upto map <span></span> last time ;<br>
we are really happy to have our hero back . <br>
grab your sniper and let's head to Map <span></span></p>
<button onclick="restartGame()">⚔️ Continue The Fight ⚔️</button>
</div>
<div class="notice" id="robodead">
<h1>Robot Disasembeled <b style="color: green;">✔</b></h1>
<p>Robot Has Been destroyed successfully<br>
Humanity will remember your contribution</p>
<button onclick="restartGame()">Shut Down More Robots</button>
</div>
<div class='notice' id="missedaim">
<h1>Target Missed</h1>
<p>At that moment, Robot was not there where you shot</p>
<button onclick="restartGame()">Try next bullet</button>
</div>
<div class='notice' id="roboescaped">
<h1>Robot Escaped</h1>
<p>That Robot escaped the zone unaltered.</p>
<button onclick="restartGame()">Aim Another🤖</button>
</div>
<script src="roborebels.js"></script>
</body>
</html>