-
Notifications
You must be signed in to change notification settings - Fork 189
/
rules.html
203 lines (192 loc) · 6.28 KB
/
rules.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
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Space Invaders Game Rules</title>
<link rel="stylesheet" href="rules.css" />
<link
href="https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap"
rel="stylesheet"
/>
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.6.0/css/all.min.css"
/>
</head>
<body>
<header>
<h1>Space Invaders Game Rules</h1>
</header>
<div class="gtranslate_wrapper"></div>
<script>
window.gtranslateSettings = {
default_language: "en",
native_language_names: true,
languages: ["en", "fr", "de", "it", "es", "pl", "hi"],
wrapper_selector: ".gtranslate_wrapper",
alt_flags: { en: "usa" },
};
</script>
<script
src="https://cdn.gtranslate.net/widgets/latest/float.js"
defer
></script>
<div class="section">
<h2>Game Controls & Rules:</h2>
<ul>
<li>
<strong>Move Your Ship:</strong> Use Left/Right Arrow keys or swipe to
navigate your ship horizontally across the screen.
</li>
<li>
<strong>Shoot to Destroy:</strong> Press Spacebar (or tap) to shoot
and destroy enemy alien ships.
</li>
<li>
<strong>Target Red Alien Ships:</strong> Focus on destroying red alien
ships to score points and keep the battlefield clear.
</li>
<li>
<strong>Prevent Alien Invasion:</strong> Avoid letting alien ships
reach the bottom of the screen, or it's game over!
</li>
<li>
<strong>Endless Survival Challenge:</strong> Survive for as long as
possible by outmaneuvering enemies and staying alive.
</li>
</ul>
</div>
<div class="section">
<h2>Power-Up Benefits:</h2>
<ul>
<li>
<strong>Health Boost:</strong> Collect Health Boost power-ups to
increase lives and last longer in the game.
</li>
<li>
<strong>Speed Boost:</strong> Grab the Speed Boost to enhance your
movement speed, making it easier to dodge enemies.
</li>
<li>
<strong>Shield Power-Up:</strong> Activate the Shield to become
invincible for a short period and attack without fear.
</li>
</ul>
</div>
<div class="section score-table">
<h2>Score Table</h2>
<p>
Earn points by defeating different types of alien ships. Each type has
its unique score value:
</p>
<div class="score-grid">
<div class="score-item">
<img src="assets/images/greenMob.jpg" class="mob-img" />
<span class="mob-name">Default Alien</span>
<span class="mob-score">10 Points</span>
</div>
<div class="score-item">
<img src="assets/images/cuteMob.jpg" class="mob-img" />
<span class="mob-name">Cute Alien</span>
<span class="mob-score">15 Points</span>
</div>
<div class="score-item">
<img src="assets/images/terrifyMob.jpg" class="mob-img" />
<span class="mob-name">Terrifying Alien</span>
<span class="mob-score">20 Points</span>
</div>
<div class="score-item">
<img src="assets/images/roboticMob.jpg" class="mob-img" />
<span class="mob-name">Robotic Alien</span>
<span class="mob-score">25 Points</span>
</div>
<div class="score-item">
<img src="assets/images/ghostMob.jpg" class="mob-img" />
<span class="mob-name">Ghostly Alien</span>
<span class="mob-score">30 Points</span>
</div>
</div>
</div>
</body>
<footer class="bg-body-tertiary text-center">
<!-- Grid container -->
<div class="container p-4">
<!-- Section: Social media -->
<section class="mb-4">
<!-- Facebook -->
<a
data-mdb-ripple-init
class="btn btn-outline btn-floating m-1"
href="#!"
style="margin: 15px"
role="button"
><i class="fab fa-facebook-f"></i
></a>
<!-- Twitter -->
<a
data-mdb-ripple-init
class="btn btn-outline btn-floating m-1"
href="#!"
style="margin: 15px"
role="button"
><i class="fab fa-twitter"></i
></a>
<!-- Google -->
<a
data-mdb-ripple-init
class="btn btn-outline btn-floating m-1"
href="#!"
style="margin: 15px"
role="button"
><i class="fab fa-google"></i
></a>
<!-- Instagram -->
<a
data-mdb-ripple-init
class="btn btn-outline btn-floating m-1"
href="#!"
style="margin: 15px"
role="button"
><i class="fab fa-instagram"></i
></a>
<!-- Linkedin -->
<a
data-mdb-ripple-init
class="btn btn-outline btn-floating m-1"
href="#!"
style="margin: 15px"
role="button"
><i class="fab fa-linkedin-in"></i
></a>
<!-- Github -->
<a
data-mdb-ripple-init
class="btn btn-outline btn-floating m-1"
href="#!"
style="margin: 15px"
role="button"
><i class="fab fa-github"></i
></a>
</section>
<section class="mx-4 mb-4">
<p>
Welcome to Alien Invasion Defense, a fast-paced space shooting game!
Defend your base from waves of alien invaders and become the ultimate
space defender. 🌌 With simple controls, sleek graphics, and exciting
gameplay, get ready for an epic battle. Use your weapons to destroy
alien ships, survive multiple waves, and protect your base with 3
lives. 👾
</p>
</section>
</div>
<!-- Copyright -->
<div class="text-center p-3" style="background-color: rgba(0, 0, 0, 0.05)">
© <span id="currentYear"></span> Alien-Invasion-Defense. All rights reserved.
</div>
<!-- Copyright -->
</footer>
<script>
document.getElementById("currentYear").textContent = new Date().getFullYear();
</script>
</html>