-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
272 lines (261 loc) · 10.4 KB
/
Copy pathindex.html
File metadata and controls
272 lines (261 loc) · 10.4 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
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>usrx215's Arcadia</title>
<link rel="icon" type="image/x-icon" href="images/arcadia-circle.png">
<link rel="manifest" href="/manifest.json">
<style>
:root {
--c1: #ffc200;
--c2: #20b2aa;
--c3: #32cd32;
}
body {
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
background: linear-gradient(-45deg, var(--c1), var(--c2), var(--c3));
background-size: 400% 400%;
animation: gradient 15s ease infinite;
min-height: 100vh;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
text-align: center;
}
@keyframes gradient {
0% { background-position: 0% 50%; }
50% { background-position: 100% 50%; }
100% { background-position: 0% 50%; }
}
header {
background: linear-gradient(45deg, var(--c2), var(--c3));
color: white;
padding: 1em 0;
text-align: center;
width: 100%
}
header img {
max-width: 100%;
height: auto;
display: block;
margin: 0 auto;
}
.container {
padding: 20px;
max-width: 90%;
margin: 0 auto;
}
.games-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
gap: 20px;
margin-top: 20px;
}
.game-card {
background: #ffffff26;
border: 1px solid #ddd;
border-radius: 5px;
padding: 15px;
text-align: center;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.game-card img {
max-width: 100%;
border-radius: 5px;
}
.game-card h3 {
margin: 10px 0 5px;
color: white;
}
a { color: white; }
.game-card p { color: white; }
footer {
background-color: #3333334D;
border: 1px solid #ddd;
color: white;
text-align: center;
padding: 10px 0;
position: fixed;
width: 100%;
bottom: 0;
}
#announcement {
background-color: red;
color: white;
padding: 10px;
text-align: center;
}
/* Dark/Light mode toggle */
#theme-toggle {
position: fixed;
top: 12px;
right: 16px;
z-index: 1000;
background: #ffffff33;
border: 1px solid #ffffff66;
color: white;
padding: 6px 14px;
border-radius: 20px;
cursor: pointer;
font-family: Arial, sans-serif;
font-size: 14px;
backdrop-filter: blur(4px);
transition: background 0.2s;
}
#theme-toggle:hover {
background: #ffffff55;
}
</style>
</head>
<body>
<!-- <div id="announcement">
<h1>Test announcement, please ignore if you're looking at the source code :) thats right i see you taking a peek, but the site is open source so who cares?</h1>
</div> -->
<button id="theme-toggle" onclick="toggleTheme()" title="Toggle dark/light mode">🌙 Dark</button>
<header>
<img src="images/arcadia-banner.png" alt="Arcadia Logo">
</header>
<div class="container">
<section id="games" class="games-grid">
<div class="game-card" data-game-id="spike-dodger">
<a href="spikedodger.html"><img src="images/spikedodger.png" alt="Spike Dodger Logo"></a>
<h3><a href="spikedodger.html">Spike Dodger</a></h3>
<p>Dodge falling spikes that get faster and more plentiful as time progresses</p>
</div>
<div class="game-card" data-game-id="interlock">
<a href="interlock.html"><img src="images/interlock.png" alt="Interlock Logo"></a>
<h3><a href="interlock.html">Interlock</a></h3>
<p>Slide blocks to get the red one to the right side. NOTE: I'm working on more levels okay give me a break</p>
</div>
<div class="game-card" data-game-id="interlock-editor">
<a href="interlock-editor.html"><img src="images/interlock-editor.png" alt="Interlock Editor Preview"></a>
<h3><a href="interlock-editor.html">Interlock Editor</a></h3>
<p>Make your own Interlock levels!</p>
</div>
<div class="game-card" data-game-id="interlock-editor">
<a href="wordle.html"><img src="images/wordle.png" alt="Wordle Logo"></a>
<h3><a href="wordle.html">Wordle Unlimited</a></h3>
<p>Wordle but you can play indefinitely!</p>
</div>
<div class="game-card" data-game-id="hex">
<a href="hex.html"><img src="images/hex.png" alt="SC Games Icon"></a>
<h3><a href="hex.html">Hex</a></h3>
<p>11x11 game of Hex. Red tries to go from top to bottom, blue from left to right.</p>
</div>
<div class="game-card" data-game-id="flooder">
<a href="flooder.html"><img src="images/flooder.png" alt="Flooder Icon"></a>
<h3><a href="flooder.html">Flooder</a></h3>
<p>Click colors and fill the board within the number of moves with one color!</p>
</div>
<div class="game-card" data-game-id="dvd">
<a href="dvd.html"><img src="images/dvd.png" alt="DVD Logo"></a>
<h3><a href="dvd.html">Bouncing DVD Logo</a></h3>
<p>It's just the bouncing DVD logo. What else can I say? WARNING: seizure inducing on mobile</p>
</div>
<div class="game-card" data-game-id="reemu">
<a href="reemu.html"><img src="images/emujs.png" alt="EmulatorJS Logo"></a>
<h3><a href="reemu.html">ReEmu</a></h3>
<p>Flash and retro console emulator using Ruffle and EmulatorJS</p>
</div>
<div class="game-card" data-game-id="maze-game">
<a href="mazegame.html"><img src="images/mazegame.png" alt="Maze Game Preview"></a>
<h3><a href="mazegame.html">Maze Game v2</a></h3>
<p>Complete randomized mazes from start to finish</p>
</div>
<div class="game-card" data-game-id="maze-builder">
<a href="mazebuilder.html"><img src="images/mazegame.png" alt="Maze Game Preview"></a>
<h3><a href="mazebuilder.html">Maze Game v2 - Maze Builder</a></h3>
<p>Build custom mazes for Maze Game v2</p>
</div>
<div class="game-card" data-game-id="guess-number">
<a href="gtn.html"><img src="images/gtn.png" alt="Guess the Number Game Icon"></a>
<h3><a href="gtn.html">Guess the Number</a></h3>
<p>Just read the title of the game.</p>
</div>
<div class="game-card" data-game-id="trampoline">
<a href="trampoline.html"><img src="images/trampoline.png" alt="Trampoline Icon"></a>
<h3><a href="trampoline.html">Trampoline</a></h3>
<p>Bounce constantly while dodging bullets, frogs, and wall spikes, but grab the green ones! They heal you up.</p>
</div>
<div class="game-card" data-game-id="pongout">
<a href="pongout.html"><img src="images/pongout.png" alt="PongOut Icon"></a>
<h3><a href="pongout.html">PongOut</a></h3>
<p>Pong + Breakout. It's PongOut!</p>
</div>
<div class="game-card" data-game-id="edgesurf">
<a href="edgesurf"><img src="images/surf.png" alt="Edge Surf Icon"></a>
<h3><a href="edgesurf">Edge Surf</a></h3>
<p>Surf game from Microsoft Edge.</p>
</div>
<div class="game-card" data-game-id="memory">
<a href="memory.html"><img src="images/memory.png" alt="Memory Preview"></a>
<h3><a href="memory.html">Memory</a></h3>
<p>Memory game from 4x4 up to 10x10 size.</p>
</div>
<div class="game-card" data-game-id="rps">
<a href="rps.html"><img src="images/rps.png" alt="RPS Preview"></a>
<h3><a href="rps.html">Rock Paper Scissors</a></h3>
<p>Very basic game of Rock Paper Scissors against a random number generator.</p>
</div>
<div class="game-card" data-game-id="slots">
<a href="slots.html"><img src="images/slots.png" alt="Slots Preview"></a>
<h3><a href="slots.html">Slots</a></h3>
<p>GAMBLING YEAHHHHH (slots game but no worries no money to be lost, just ingame tokens)</p>
</div>
<div class="game-card" data-game-id="roulette">
<a href="roulette.html"><img src="images/roulette.png" alt="Roulette Preview"></a>
<h3><a href="roulette.html">Roulette</a></h3>
<p>GAMBLING YEAHHHHH (roulette game but no worries no money to be lost, just ingame tokens)</p>
</div>
<div class="game-card" data-game-id="plinko">
<a href="plinko.html"><img src="images/plinko.png" alt="Plinko Preview"></a>
<h3><a href="plinko.html">Plinko</a></h3>
<p>GAMBLING YEAHHHHH (plinko game but no worries no money to be lost, just ingame tokens)</p>
</div>
<div class="game-card" data-game-id="blackjack">
<a href="blackjack.html"><img src="images/blackjack.png" alt="Blackjack Preview"></a>
<h3><a href="blackjack.html">Blackjack</a></h3>
<p>GAMBLING YEAHHHHH (blackjack game but no worries no money to be lost, just ingame tokens)</p>
</div>
<div class="game-card" data-game-id="minesweeper">
<a href="minesweeper.html"><img src="images/arcadia-square.png" alt="Arcadia Icon"></a>
<h3><a href="minesweeper.html">Minesweeper</a></h3>
<p>Please just learn how to play Minesweeper. Please. Look it up if you don't.</p>
</div>
<div class="game-card" data-game-id="base64">
<a href="beta/b64.html"><img src="images/arcadia-square.png" alt="Arcadia Icon"></a>
<h3><a href="beta/b64.html">Base64 Tool</a></h3>
<p>It lets you encode and decode Base64. Wow, amazing, right?</p>
</div>
</div>
</section>
</div>
<hr style="color: #ffffff00; background: #ffffff00;"><hr style="color: #ffffff00; background: #ffffff00;"><hr style="color: #ffffff00; background: #ffffff00;"><hr style="color: #ffffff00; background: #ffffff00;"><hr style="color: #ffffff00; background: #ffffff00;">
<footer>
Made with <strong style="color: red;">♥</strong> by <a href="https://usrx.space" target="_blank">usrx215</a>
</footer>
<script>
const LIGHT = { c1: '#ffc200', c2: '#20b2aa', c3: '#32cd32' };
const DARK = { c1: '#866700', c2: '#16524f', c3: '#1e661e' };
let isDark = localStorage.getItem('arcadia-theme') === 'dark';
function applyTheme() {
const t = isDark ? DARK : LIGHT;
const root = document.documentElement;
root.style.setProperty('--c1', t.c1);
root.style.setProperty('--c2', t.c2);
root.style.setProperty('--c3', t.c3);
document.getElementById('theme-toggle').textContent = isDark ? '☀️ Light' : '🌙 Dark';
}
function toggleTheme() {
isDark = !isDark;
localStorage.setItem('arcadia-theme', isDark ? 'dark' : 'light');
applyTheme();
}
applyTheme();
</script>
</body>
</html>