@indextools/index-games 0.0.0-stage → 1.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (50) hide show
  1. package/README.md +73 -2
  2. package/index.svg +53 -0
  3. package/package.json +47 -5
  4. package/public/404.html +50 -0
  5. package/public/baremux/worker.js +2 -0
  6. package/public/config.js +27 -0
  7. package/public/games/agesofconflict.html +224 -0
  8. package/public/games/baldi.html +50 -0
  9. package/public/games/boi.html +132 -0
  10. package/public/games/brotato.html +142 -0
  11. package/public/games/fnae.html +153 -0
  12. package/public/games/games.json +122 -0
  13. package/public/games/gamesuggestion.html +12 -0
  14. package/public/games/geodash.html +274 -0
  15. package/public/games/kidchess.html +52 -0
  16. package/public/games/lebronclicker.html +763 -0
  17. package/public/games/monstertracks.html +31 -0
  18. package/public/games/nealfun.html +52 -0
  19. package/public/games/slitherio.html +186 -0
  20. package/public/games/slope.html +114 -0
  21. package/public/games/spacewaves.html +246 -0
  22. package/public/games/wheeliebike.html +50 -0
  23. package/public/icons/BNG-Favicon.png +0 -0
  24. package/public/icons/CGPT-Favicon.png +0 -0
  25. package/public/icons/CMG-Favicon.jpg +0 -0
  26. package/public/icons/CZG-Favicon.png +0 -0
  27. package/public/icons/DC-Favicon.png +0 -0
  28. package/public/icons/DDG-Favicon.png +0 -0
  29. package/public/icons/G-Favicon.png +0 -0
  30. package/public/icons/GH-Favicon.png +0 -0
  31. package/public/icons/GameSuggestions-Favicons.png +0 -0
  32. package/public/icons/MCTF-Favicon.png +0 -0
  33. package/public/icons/MP4-Favicon.webp +0 -0
  34. package/public/icons/NDF-Favicon.png +0 -0
  35. package/public/icons/NGG-Favicon.png +0 -0
  36. package/public/icons/RDT-Favicon.png +0 -0
  37. package/public/icons/RPT-Favicon.png +0 -0
  38. package/public/icons/S-Favicon.png +0 -0
  39. package/public/icons/TT-Favicon.png +0 -0
  40. package/public/icons/X-Favicon.jpg +0 -0
  41. package/public/icons/YT-Favicon.png +0 -0
  42. package/public/index.css +888 -0
  43. package/public/index.html +1141 -0
  44. package/public/index.js +76 -0
  45. package/public/index.svg +53 -0
  46. package/public/register-sw.js +29 -0
  47. package/public/search.js +32 -0
  48. package/public/sw.js +16 -0
  49. package/server.js +46 -0
  50. package/src/index.js +96 -0
@@ -0,0 +1,274 @@
1
+ <!DOCTYPE html>
2
+
3
+
4
+ <!-- Ultimate Game Stash file-->
5
+ <!-- For the regularly updating doc go to https://docs.google.com/document/d/1_FmH3BlSBQI7FGgAQL59-ZPe8eCxs35wel6JUyVaG8Q/ -->
6
+
7
+
8
+ <html lang="en-US">
9
+
10
+ <head>
11
+ <base href="https://cdn.jsdelivr.net/gh/bubbls/UGS-Assets@main/gdlite/">
12
+ <title>Geometry Dash</title>
13
+ <link rel="icon" type="image/png" href="https://e3334afd.cf-nate.pages.dev/0/g/geodash/game/splash.png">
14
+ <meta name="description" content="Play Geometry Dash Lite Online For Free on Chromebook, PC, Windows, Desktop in Chrome and modern browsers.">
15
+ <link rel="canonical" href="https://gamecomets.com/game/geometry-dash-lite/" />
16
+ <meta name="robots" content="noindex, nofollow">
17
+ <meta charset="utf-8">
18
+ <meta http-equiv="X-UA-Compatible" content="IE=edge">
19
+ <meta name="viewport" content="width=device-width, initial-scale=1">
20
+ <link rel="stylesheet" href="themes/geometrydashlite.io/rs/css/home.css?v=1">
21
+ </head>
22
+ <meta name="cf-2fa-verify" content="GpoihhhSRQknehLQkEtXM">
23
+
24
+ <body>
25
+ <style>
26
+ html {
27
+ box-sizing: border-box;
28
+ }
29
+
30
+ *,
31
+ *:before,
32
+ *:after {
33
+ box-sizing: inherit;
34
+ }
35
+
36
+ body {
37
+ margin: 0;
38
+ background-image: linear-gradient(rgb(0, 0, 0), rgb(0, 102, 255));
39
+ overflow: hidden;
40
+ }
41
+
42
+ #gameContainer {
43
+ width: 100vw;
44
+ height: 100vh;
45
+ }
46
+
47
+ canvas {
48
+ width: 100%;
49
+ height: 100%;
50
+ display: block;
51
+ }
52
+
53
+ canvas+* {
54
+ z-index: 2;
55
+ }
56
+
57
+ .container {
58
+ max-width: 1600px;
59
+ position: relative;
60
+ }
61
+
62
+ .posImg {
63
+ position: absolute;
64
+ top: 0;
65
+ width: 100%;
66
+ height: 100%;
67
+ }
68
+
69
+ .logo {
70
+ position: absolute;
71
+ display: block;
72
+ max-width: 100vw;
73
+ max-height: 70vh;
74
+ top: 300px;
75
+ }
76
+
77
+ .pos_progress {
78
+ position: absolute;
79
+ bottom: 15%;
80
+ width: 100%;
81
+ }
82
+
83
+ .progress {
84
+ margin: 1.5em auto;
85
+ max-width: 436px;
86
+ height: auto;
87
+ display: none;
88
+ position: relative;
89
+ }
90
+
91
+ .full {
92
+ width: 97%;
93
+ transform-origin: top left;
94
+ }
95
+
96
+ .box_process {
97
+ width: 100%;
98
+ }
99
+
100
+ .process {
101
+ width: 98%;
102
+ }
103
+
104
+ .progress .posfull,
105
+ .progress .posbox {
106
+ position: absolute;
107
+ display: flex;
108
+ align-items: center;
109
+ justify-content: center;
110
+ }
111
+
112
+ .progress .posfull {
113
+ top: 8px;
114
+ z-index: 1;
115
+ }
116
+
117
+ .progress .posbox {
118
+ top: 0;
119
+ z-index: 2;
120
+ }
121
+
122
+ #loader {
123
+ position: absolute;
124
+ left: 0;
125
+ top: 0;
126
+ width: 100%;
127
+ height: 100%;
128
+ display: flex;
129
+ flex-direction: column;
130
+ align-items: center;
131
+ justify-content: center;
132
+ background-image: linear-gradient(rgb(0, 0, 0), rgb(0, 102, 255));
133
+ }
134
+
135
+ .pos_spinner {
136
+ position: absolute;
137
+ top: 70%;
138
+ left: 50%;
139
+ transform: translate(-30%, -50%);
140
+ }
141
+
142
+ .spinner,
143
+ .spinner:after {
144
+ display: none;
145
+ border-radius: 50%;
146
+ width: 5em;
147
+ height: 5em;
148
+ }
149
+
150
+ .spinner {
151
+ margin: 10px;
152
+ font-size: 10px;
153
+ position: relative;
154
+ text-indent: -9999em;
155
+ border-top: 1.1em solid rgba(255, 255, 255, 0.2);
156
+ border-right: 1.1em solid rgba(255, 255, 255, 0.2);
157
+ border-bottom: 1.1em solid rgba(255, 255, 255, 0.2);
158
+ border-left: 1.1em solid #ffffff;
159
+ transform: translateZ(0);
160
+ animation: spinner-spin 1.1s infinite linear;
161
+ }
162
+
163
+ @keyframes spinner-spin {
164
+ 0% {
165
+ transform: rotate(0deg);
166
+ }
167
+ 100% {
168
+ transform: rotate(360deg);
169
+ }
170
+ }
171
+ </style>
172
+ <div id="gameContainer"></div>
173
+ <div id="loader"><img class="logo" src="image/loading.png?v=1">
174
+ <div class="spinner"></div>
175
+ <div class=" pos_progress">
176
+ <div class="progress">
177
+ <div class="posfull"><img class="full" src="image/process_bar_back.png"></div>
178
+ <div class="posbox"><img class="box_process" src="image/process_bar_front.png"></div>
179
+ </div>
180
+ </div>
181
+ <script>
182
+ window.fileMergerConfig = {
183
+ files: [
184
+ { name: 'GeometryDashLite.data.unityweb', parts: 2 },
185
+ { name: 'GeometryDashLite.wasm.code.unityweb', parts: 1 },
186
+ { name: 'GeometryDashLite.wasm.framework.unityweb', parts: 1 },
187
+ ],
188
+ basePath: 'Build/',
189
+ debug: true
190
+ };
191
+ </script>
192
+ <script src="https://cdn.jsdelivr.net/gh/bubbls/UGS-Assets@ac5cdfc0042aca584e72619375b4aca948a9243c/merge.js"></script>
193
+ <script src="Build/UnityLoader.js"></script>
194
+ <script>
195
+ var gameInstance = UnityLoader.instantiate("gameContainer", "Build/GeometryDashLite.json", {
196
+ onProgress: UnityProgress
197
+ });
198
+
199
+ function UnityProgress(gameInstance, progress) {
200
+ if (!gameInstance.Module) {
201
+ return;
202
+ }
203
+ const loader = document.querySelector("#loader");
204
+ if (!gameInstance.progress) {
205
+ const progress = document.querySelector("#loader .progress");
206
+ progress.style.display = "block";
207
+ gameInstance.progress = progress.querySelector(".full");
208
+ loader.querySelector(".spinner").style.display = "none";
209
+ }
210
+ gameInstance.progress.style.transform = `scaleX(${progress})`;
211
+ if (progress === 1 && !gameInstance.removeTimeout) {
212
+ gameInstance.removeTimeout = setTimeout(function() {
213
+ loader.style.display = "none";
214
+ }, 2000);
215
+ }
216
+ }
217
+ </script>
218
+ <script>
219
+ document.addEventListener('DOMContentLoaded', function() {
220
+ let buttondiv = document.getElementsByTagName('button');
221
+ for (let i = 0; i < buttondiv.length; i++) {
222
+ if (buttondiv[i].innerHTML == "OK") {
223
+ buttondiv[i].click();
224
+ }
225
+ }
226
+ setTimeout(function() {
227
+ let buttonok = document.getElementsByTagName('button');
228
+ for (let i = 0; i < buttondiv.length; i++) {
229
+ if (buttonok[i].innerHTML == "OK") {
230
+ buttonok[i].click();
231
+ }
232
+ }
233
+ }, 1000);
234
+ });
235
+ </script>
236
+ <script src="themes/geometrydashlite.io/rs/js/jquery-3.4.1.min.js"></script>
237
+ <script>
238
+ function ToggleInfo() {
239
+ if ($('button.hide-main-panel').children('i')[0].textContent != 'Info') {
240
+ $("div.main-panel").css('width', '0px');
241
+ $("div.main-panel-ads").css('display', 'none');
242
+ $("div.main-panel-content").css('display', 'none');
243
+ $('button.hide-main-panel').children('i').html('Info');
244
+ console.log('Info');
245
+ } else {
246
+ $("div.main-panel").css('width', $("div.main-panel").css('max-width'));
247
+ $("div.main-panel-ads").css('display', 'block');
248
+ $("div.main-panel-content").css('display', 'block');
249
+ $('button.hide-main-panel').children('i').html('>>');
250
+ console.log('>>');
251
+ }
252
+ }
253
+
254
+ function ShowInfo() {
255
+ $("div.main-panel").css('width', $("div.main-panel").css('max-width'));
256
+ $("div.main-panel-ads").css('display', 'block');
257
+ $("div.main-panel-content").css('display', 'block');
258
+ $('button.hide-main-panel').children('i').html('>>');
259
+ }
260
+
261
+ function HideInfo() {
262
+ $("div.main-panel").css('width', '0px');
263
+ $("div.main-panel-ads").css('display', 'none');
264
+ $("div.main-panel-content").css('display', 'none');
265
+ $('button.hide-main-panel').children('i').html('Info');
266
+ }
267
+ $('button.hide-main-panel').click(function() {
268
+ console.log('a');
269
+ ToggleInfo();
270
+ });
271
+ </script>
272
+ </body>
273
+
274
+ </html>
@@ -0,0 +1,52 @@
1
+ <!doctype html>
2
+ <html>
3
+ <head>
4
+ <meta charset="utf-8" />
5
+ <title>Kid Chess</title>
6
+ <script src="../config.js"></script>
7
+ <script src="https://unpkg.com/@mercuryworkshop/scramjet@2.0.0-alpha/dist/scramjet.all.js"></script>
8
+ <script src="https://unpkg.com/@mercuryworkshop/bare-mux@2.1.7/dist/index.js"></script>
9
+ <style>
10
+ * { margin: 0; padding: 0; box-sizing: border-box; }
11
+ html, body { width: 100%; height: 100%; overflow: hidden; background: #000; }
12
+ </style>
13
+ </head>
14
+ <body>
15
+ <script src="../register-sw.js"></script>
16
+ <script>
17
+ (async () => {
18
+ const cfg = (typeof window !== "undefined" && window.__INDEX_CONFIG) || {};
19
+ const scramjetFiles = cfg.scramjet || {
20
+ wasm: "https://unpkg.com/@mercuryworkshop/scramjet@2.0.0-alpha/dist/scramjet.wasm.wasm",
21
+ all: "https://unpkg.com/@mercuryworkshop/scramjet@2.0.0-alpha/dist/scramjet.all.js",
22
+ sync: "https://unpkg.com/@mercuryworkshop/scramjet@2.0.0-alpha/dist/scramjet.sync.js"
23
+ };
24
+ const baseDir = new URL("../", location.href).pathname;
25
+ const workerPath = (cfg.baremux && cfg.baremux.worker) || new URL("../baremux/worker.js", location.href).pathname;
26
+ const scramjetPrefix = baseDir + "service/";
27
+
28
+ const { ScramjetController } = $scramjetLoadController();
29
+ const sj = new ScramjetController({
30
+ files: scramjetFiles,
31
+ prefix: scramjetPrefix
32
+ });
33
+
34
+ await sj.init();
35
+
36
+ const c = new BareMux.BareMuxConnection(workerPath);
37
+ const wispUrl = cfg.wispUrl || (location.host && location.host.includes("unpkg.com") ? "wss://wisp.mercurywork.shop/" : ((location.protocol === "https:" ? "wss" : "ws") + "://" + location.host + "/wisp/"));
38
+ const transportUrl = (cfg.libcurl && cfg.libcurl.transport) || "https://unpkg.com/@mercuryworkshop/libcurl-transport@1.5.2/dist/index.mjs";
39
+ if ((await c.getTransport()) !== transportUrl) {
40
+ await c.setTransport(transportUrl, [{ websocket: wispUrl }]);
41
+ }
42
+
43
+ await registerSW();
44
+
45
+ const f = sj.createFrame();
46
+ f.frame.style.cssText = "width:100vw;height:100vh;border:none;display:block;position:fixed;inset:0;";
47
+ document.body.appendChild(f.frame);
48
+ f.go("https://www.chesskid.com/play");
49
+ })();
50
+ </script>
51
+ </body>
52
+ </html>