forked from YadavAkhileshh/Alien-Invasion-Defense
-
Notifications
You must be signed in to change notification settings - Fork 0
/
rules.html
77 lines (72 loc) · 3.02 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
<!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">
<style>
.language-button {
background-color: #007BFF; /* Change to your desired color */
color: white;
border: none;
padding: 10px 15px;
border-radius: 5px;
cursor: pointer;
font-size: 16px;
}
.language-button:hover {
background-color: #0056b3; /* Darker shade for hover effect */
}
</style>
</head>
<body>
<a href="./index.html" class="home-link">Home</a>
<h1>Space Invaders Game Rules</h1>
<div class="gtranslate_wrapper"></div>
<script>
window.gtranslateSettings = {
"default_language": "en",
"detect_browser_language": true,
"wrapper_selector": ".gtranslate_wrapper"
};
</script>
<script src="https://cdn.gtranslate.net/widgets/latest/popup.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>
<!-- Snowflakes Container -->
<div class="snowflakes" aria-hidden="true">
<div class="snowflake"></div>
<div class="snowflake"></div>
<div class="snowflake"></div>
<div class="snowflake"></div>
<div class="snowflake"></div>
<div class="snowflake"></div>
<div class="snowflake"></div>
<div class="snowflake"></div>
<div class="snowflake"></div>
<div class="snowflake"></div>
<div class="snowflake"></div>
<div class="snowflake"></div>
<div class="snowflake"></div>
<div class="snowflake"></div>
<div class="snowflake"></div>
</div>
</body>
</html>