@ywkrlerche/richardwho 1.0.43 → 1.0.45
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.
- package/app.js +461 -304
- package/config.js +4 -10
- package/games/sixty.html +134 -0
- package/games.json +1 -1
- package/index.html +58 -60
- package/index.svg +17 -5
- package/logos/sixty.jpg +0 -0
- package/package.json +1 -1
- package/style.css +101 -107
package/config.js
CHANGED
|
@@ -14,16 +14,6 @@ window.RUG_CONFIG = {
|
|
|
14
14
|
// Keys that trigger panic (KeyboardEvent.key values)
|
|
15
15
|
panicKeys: ["`", "]"],
|
|
16
16
|
|
|
17
|
-
// AI chat: free keys from any of these (fill in as many as you like; it switches to the next one when a
|
|
18
|
-
// service is out of free messages). See SETUP.md, "AI chat". Leave all "" to hide the AI.
|
|
19
|
-
ai: {
|
|
20
|
-
gemini: "AQ.Ab8RN6JLclrZnjK9C9Gjev9R1CNzLD9_RYNRldc4D5skYfIXCA", // aistudio.google.com → Get API key
|
|
21
|
-
groq: "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", // console.groq.com → API Keys
|
|
22
|
-
openrouter: "", // openrouter.ai → Keys (uses its free models)
|
|
23
|
-
mistral: "", // console.mistral.ai → API Keys (free Experiment plan)
|
|
24
|
-
geminiModel: "gemini-3.5-flash", // tried first; if it stops working, the next Flash model is used
|
|
25
|
-
},
|
|
26
|
-
|
|
27
17
|
// Google Analytics 4 measurement ID, e.g. "G-ABC123XYZ" (from analytics.google.com).
|
|
28
18
|
// Leave null to turn analytics off. Shows visitors, live users and top games in YOUR GA dashboard.
|
|
29
19
|
googleAnalytics: "G-6VWCQ493PZ", // property "richardsunblockedgames"
|
|
@@ -50,4 +40,8 @@ window.RUG_CONFIG = {
|
|
|
50
40
|
// For local testing only: load games from a folder on a local server
|
|
51
41
|
// instead of jsDelivr, e.g. "/repos". Leave null when published.
|
|
52
42
|
localBase: null,
|
|
43
|
+
|
|
44
|
+
// For local testing only: send the database to Firebase's local emulator, e.g. "127.0.0.1:9000",
|
|
45
|
+
// so new rules can be tried without touching the real chat. Leave null when published.
|
|
46
|
+
firebaseEmulator: null,
|
|
53
47
|
};
|
package/games/sixty.html
ADDED
|
@@ -0,0 +1,134 @@
|
|
|
1
|
+
<!--
|
|
2
|
+
60 Seconds! Reatomized downloaded from gn-math! at 11/13/2026
|
|
3
|
+
|
|
4
|
+
https://gn-math.dev
|
|
5
|
+
https://discord.gg/gn-math
|
|
6
|
+
-->
|
|
7
|
+
<!DOCTYPE html>
|
|
8
|
+
<html lang="en-us">
|
|
9
|
+
<head>
|
|
10
|
+
<base
|
|
11
|
+
href="https://raw.githubusercontent.com/freebuisness/html/main/858.html"
|
|
12
|
+
/>
|
|
13
|
+
<link
|
|
14
|
+
rel="shortcut icon"
|
|
15
|
+
href="https://cdn.jsdelivr.net/gh/usheje883-maker/60-Seconds-Webport@main/Image.png"
|
|
16
|
+
/>
|
|
17
|
+
<link
|
|
18
|
+
rel="stylesheet"
|
|
19
|
+
href="https://cdn.jsdelivr.net/gh/usheje883-maker/60-Seconds-Webport@main/TemplateData/style.css"
|
|
20
|
+
/>
|
|
21
|
+
<script
|
|
22
|
+
async=""
|
|
23
|
+
src="https://www.googletagmanager.com/gtag/js?id=G-PXHK7Q7G3Z"
|
|
24
|
+
></script>
|
|
25
|
+
<script>
|
|
26
|
+
window.dataLayer = window.dataLayer || [];
|
|
27
|
+
function gtag() {
|
|
28
|
+
dataLayer.push(arguments);
|
|
29
|
+
}
|
|
30
|
+
gtag("js", new Date());
|
|
31
|
+
gtag("config", "G-PXHK7Q7G3Z");
|
|
32
|
+
</script>
|
|
33
|
+
</head>
|
|
34
|
+
<body>
|
|
35
|
+
<div id="unity-container" class="unity-desktop">
|
|
36
|
+
<canvas id="unity-canvas"></canvas>
|
|
37
|
+
<div id="unity-loading-bar">
|
|
38
|
+
<div id="unity-logo"></div>
|
|
39
|
+
<div id="unity-progress-bar-empty">
|
|
40
|
+
<div id="unity-progress-bar-full"></div>
|
|
41
|
+
</div>
|
|
42
|
+
</div>
|
|
43
|
+
<div id="unity-warning"></div>
|
|
44
|
+
</div>
|
|
45
|
+
<script>
|
|
46
|
+
var container = document.querySelector("#unity-container");
|
|
47
|
+
var canvas = document.querySelector("#unity-canvas");
|
|
48
|
+
var loadingBar = document.querySelector("#unity-loading-bar");
|
|
49
|
+
var progressBarFull = document.querySelector("#unity-progress-bar-full");
|
|
50
|
+
var warningBanner = document.querySelector("#unity-warning");
|
|
51
|
+
function unityShowBanner(msg, type) {
|
|
52
|
+
function updateBannerVisibility() {
|
|
53
|
+
warningBanner.style.display = warningBanner.children.length
|
|
54
|
+
? "block"
|
|
55
|
+
: "none";
|
|
56
|
+
}
|
|
57
|
+
var div = document.createElement("div");
|
|
58
|
+
div.innerHTML = msg;
|
|
59
|
+
warningBanner.appendChild(div);
|
|
60
|
+
if (type == "error") div.style = "background: red; padding: 10px;";
|
|
61
|
+
else {
|
|
62
|
+
if (type == "warning")
|
|
63
|
+
div.style = "background: yellow; padding: 10px;";
|
|
64
|
+
setTimeout(function () {
|
|
65
|
+
warningBanner.removeChild(div);
|
|
66
|
+
updateBannerVisibility();
|
|
67
|
+
}, 5000);
|
|
68
|
+
}
|
|
69
|
+
updateBannerVisibility();
|
|
70
|
+
}
|
|
71
|
+
var baseUrl =
|
|
72
|
+
"https://cdn.jsdelivr.net/gh/usheje883-maker/60-Seconds-Webport@main/";
|
|
73
|
+
var buildUrl = baseUrl + "Build";
|
|
74
|
+
var loaderUrl = buildUrl + "/Build.loader.js";
|
|
75
|
+
loadingBar.style.display = "block";
|
|
76
|
+
var dataFiles = [
|
|
77
|
+
"Build.data.unityweb.0",
|
|
78
|
+
"Build.data.unityweb.1",
|
|
79
|
+
"Build.data.unityweb.2",
|
|
80
|
+
"Build.data.unityweb.3",
|
|
81
|
+
"Build.data.unityweb.4",
|
|
82
|
+
"Build.data.unityweb.5",
|
|
83
|
+
];
|
|
84
|
+
Promise.all(
|
|
85
|
+
dataFiles.map(function (f) {
|
|
86
|
+
return fetch(buildUrl + "/" + f).then(function (r) {
|
|
87
|
+
if (!r.ok) throw Error("Failed " + f);
|
|
88
|
+
return r.arrayBuffer();
|
|
89
|
+
});
|
|
90
|
+
}),
|
|
91
|
+
).then(function (parts) {
|
|
92
|
+
var total = parts.reduce(function (s, b) {
|
|
93
|
+
return s + b.byteLength;
|
|
94
|
+
}, 0);
|
|
95
|
+
var combined = new Uint8Array(total);
|
|
96
|
+
var off = 0;
|
|
97
|
+
parts.forEach(function (buf) {
|
|
98
|
+
combined.set(new Uint8Array(buf), off);
|
|
99
|
+
off += buf.byteLength;
|
|
100
|
+
});
|
|
101
|
+
var dataBlob = URL.createObjectURL(new Blob([combined]));
|
|
102
|
+
var config = {
|
|
103
|
+
dataUrl: dataBlob,
|
|
104
|
+
frameworkUrl: buildUrl + "/Build.framework.js.unityweb",
|
|
105
|
+
codeUrl: buildUrl + "/Build.wasm.unityweb",
|
|
106
|
+
streamingAssetsUrl: baseUrl + "StreamingAssets",
|
|
107
|
+
companyName: "Robot Gentleman",
|
|
108
|
+
productName: "60 Seconds",
|
|
109
|
+
productVersion: "1.0",
|
|
110
|
+
showBanner: unityShowBanner,
|
|
111
|
+
};
|
|
112
|
+
if (/iPhone|iPad|iPod|Android/i.test(navigator.userAgent)) {
|
|
113
|
+
container.className = "unity-mobile";
|
|
114
|
+
config.devicePixelRatio = 1;
|
|
115
|
+
unityShowBanner("WebGL builds are not supported on mobile devices.");
|
|
116
|
+
}
|
|
117
|
+
var script = document.createElement("script");
|
|
118
|
+
script.src = loaderUrl;
|
|
119
|
+
script.onload = function () {
|
|
120
|
+
createUnityInstance(canvas, config, function (progress) {
|
|
121
|
+
progressBarFull.style.width = 100 * progress + "%";
|
|
122
|
+
})
|
|
123
|
+
.then(function (unityInstance) {
|
|
124
|
+
loadingBar.style.display = "none";
|
|
125
|
+
})
|
|
126
|
+
.catch(function (message) {
|
|
127
|
+
alert(message);
|
|
128
|
+
});
|
|
129
|
+
};
|
|
130
|
+
document.body.appendChild(script);
|
|
131
|
+
});
|
|
132
|
+
</script>
|
|
133
|
+
</body>
|
|
134
|
+
</html>
|