-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstart.html
More file actions
193 lines (176 loc) · 5.95 KB
/
Copy pathstart.html
File metadata and controls
193 lines (176 loc) · 5.95 KB
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Impossible Blocks - Start</title>
<style>
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
body {
background-color: #0a0a1f;
color: #ffffff;
min-height: 100vh;
display: flex;
justify-content: center;
align-items: center;
background: linear-gradient(45deg, #0a0a1f, #1a1a3f);
position: relative;
overflow: hidden;
}
body::before {
content: '';
position: absolute;
width: 200%;
height: 200%;
background: repeating-linear-gradient(
45deg,
rgba(0, 255, 255, 0.05) 0px,
rgba(0, 255, 255, 0.05) 1px,
transparent 1px,
transparent 10px
);
animation: grid-animation 20s linear infinite;
z-index: 1;
}
@keyframes grid-animation {
0% { transform: translateX(-50%) translateY(-50%) rotate(0deg); }
100% { transform: translateX(-50%) translateY(-50%) rotate(360deg); }
}
.container {
max-width: 1200px;
padding: 40px;
background: rgba(10, 10, 31, 0.8);
border-radius: 20px;
box-shadow: 0 0 40px rgba(0, 255, 255, 0.2);
backdrop-filter: blur(10px);
position: relative;
z-index: 2;
border: 1px solid rgba(0, 255, 255, 0.1);
}
h1 {
font-size: 3.5em;
text-align: center;
margin-bottom: 30px;
color: #00ffff;
text-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
letter-spacing: 2px;
}
.content {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 40px;
margin-bottom: 40px;
}
.section {
padding: 20px;
background: rgba(255, 255, 255, 0.05);
border-radius: 15px;
border: 1px solid rgba(0, 255, 255, 0.1);
}
h2 {
color: #00ffff;
margin-bottom: 20px;
font-size: 1.8em;
text-shadow: 0 0 5px rgba(0, 255, 255, 0.3);
}
.controls, .rules {
list-style: none;
}
.controls li, .rules li {
margin: 15px 0;
font-size: 1.1em;
display: flex;
align-items: center;
}
.key {
background: rgba(0, 255, 255, 0.1);
padding: 5px 10px;
border-radius: 5px;
margin-right: 10px;
min-width: 80px;
text-align: center;
border: 1px solid rgba(0, 255, 255, 0.2);
font-family: monospace;
}
.start-button {
display: flex;
justify-content: center;
align-items: center;
width: 300px;
margin: 40px auto 0;
padding: 20px;
font-size: 1.5em;
background: linear-gradient(45deg, #00ffff, #00ccff);
border: none;
border-radius: 50px;
color: #0a0a1f;
cursor: pointer;
transition: all 0.3s ease;
text-transform: uppercase;
font-weight: bold;
letter-spacing: 2px;
position: relative;
overflow: hidden;
text-decoration: none;
}
.start-button:hover {
transform: scale(1.05);
box-shadow: 0 0 20px rgba(0, 255, 255, 0.5);
}
.start-button:active {
transform: scale(0.95);
}
@media (max-width: 768px) {
.content {
grid-template-columns: 1fr;
}
.container {
margin: 20px;
padding: 20px;
}
h1 {
font-size: 2.5em;
}
}
</style>
</head>
<body>
<div class="container">
<h1>IMPOSSIBLE BLOCKS</h1>
<div class="content">
<div class="section">
<h2>Controls</h2>
<ul class="controls">
<li><span class="key">↑</span> Move Up</li>
<li><span class="key">↓</span> Move Down</li>
<li><span class="key">→</span> Move Right</li>
<li><span class="key">Space</span> Quick Right</li>
<li><span class="key">Z</span> Flip Up/Down</li>
<li><span class="key">X</span> Flip Left/Right</li>
<li><span class="key">C</span> Hold Block</li>
<li><span class="key">P</span> Pause Game</li>
</ul>
</div>
<div class="section">
<h2>Rules</h2>
<ul class="rules">
<li>• Blocks move from left to right</li>
<li>• Clear vertical lines of 5 blocks</li>
<li>• Create special patterns for bonus points</li>
<li>• Game ends if blocks reach the left side</li>
<li>• Level up every 8 lines cleared</li>
<li>• Higher levels = Faster movement</li>
<li>• Perfect clear = Triple score</li>
<li>• Use Hold feature strategically</li>
</ul>
</div>
</div>
<a href="index.html" class="start-button">Start the Game</a>
</div>
</body>
</html>