forked from YadavAkhileshh/Alien-Invasion-Defense
-
Notifications
You must be signed in to change notification settings - Fork 0
/
rules.html
142 lines (137 loc) · 4.48 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
<!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>
<style>
body {
font-family: Arial, sans-serif;
line-height: 1.6;
color: #333;
margin: 0 auto;
padding: 5vw;
background-color: #f0f0f0;
gap: 4vw;
}
h1 {
color: #eaeef2;
text-align: center;
border-bottom: 2px solid #3498db;
padding-bottom: 5vw;
}
h2 {
color: #125989;
}
ul {
list-style-type: none;
padding-left: 0;
}
li {
margin-bottom: 5vw;
padding-left: 5vw;
position: relative;
}
li::before {
content: "•";
color: #e74c3c;
font-weight: bold;
position: absolute;
left: 0;
}
.section {
background-color: white;
border-radius: 1vw;
padding: 15px;
margin-bottom: 20px;
box-shadow: 0px 0px 60px rgb(255, 255, 255);
border-radius: 20px;
gap: 30px;
}
a{
text-decoration: none;
color: #ebeef0;
font-size: 20px;
margin-left: 20px;
background-color: #243fed;
padding: 15px;
border-radius: 15px;
position: absolute;
top:20px;
left: 0;
}
</style>
<link rel="stylesheet" href="./rules.css">
</head>
<body>
<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 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 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 class="snowflake"></div>
<div class="snowflake"></div>
<div class="snowflake"></div>
<div class="snowflake"></div>
<h1>Space Invaders Game Rules</h1>
<a href="./index.html">Home</a>
<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>
</body>
</html>