@ywkrlerche/richardwho 1.0.49 → 1.0.50

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 CHANGED
@@ -21,6 +21,17 @@
21
21
  "papas-freezeria", "basket-random", "drift-boss", "monkey-mart", "temple-run-2", "happy-wheels",
22
22
  "jetpack-joyride", "cut-the-rope", "friday-night-funkin", "plants-vs-zombies", "crossy-road", "run-3"];
23
23
 
24
+ // Games added in this release (newest first). Shown as the "Recently added" strip on the Games page.
25
+ const RECENTLY_ADDED = [
26
+ "gn-851", // GTA III (fan remake)
27
+ "gn-187", // Papers, Please (fan remake)
28
+ "gn-10", "gn-24", "gn-27", "gn-183", "gn-262", "gn-263", "gn-314", "gn-465", "gn-468",
29
+ "gn-505", "gn-506", "gn-508", "gn-588", "gn-602", "gn-611", "gn-612", "gn-623", "gn-626",
30
+ "gn-669", "gn-693", "gn-694", "gn-696", "gn-771", "gn-789", "gn-861", "gn-868", "gn-874",
31
+ "gn-117", "gn-123", "gn-124", "gn-129", "gn-176", "gn-186", "gn-198", "gn-200", "gn-286",
32
+ "gn-294", "gn-296", "gn-310", "gn-330", "gn-441", "gn-702",
33
+ ];
34
+
24
35
  const $ = (id) => document.getElementById(id);
25
36
  const els = {
26
37
  homeView: $("view-home"), gamesView: $("view-games"), homeInput: $("home-input"), homeSub: $("home-sub"),
@@ -28,6 +39,7 @@
28
39
  allTitle: $("all-title"),
29
40
  recentBlock: $("recent-block"), recentRow: $("recent-row"),
30
41
  popularBlock: $("popular-block"), marquee: $("marquee"), marqueeTrack: $("marquee-track"),
42
+ newBlock: $("new-block"), newRow: $("new-row"),
31
43
  player: $("player"), frame: $("game-frame"), playerTitle: $("player-title"),
32
44
  loader: $("loader"), loaderName: $("loader-name"), loaderDesc: $("loader-desc"), loaderArt: $("loader-art"),
33
45
  barFill: $("bar-fill"), loaderStatus: $("loader-status"), retryBtn: $("retry-btn"),
@@ -141,6 +153,7 @@
141
153
  els.popularBlock.hidden = !browsing;
142
154
  $("gotd").hidden = !browsing || !$("gotd").children.length;
143
155
  els.recentBlock.hidden = !browsing || !els.recentRow.children.length;
156
+ els.newBlock.hidden = !browsing || !els.newRow.children.length;
144
157
  }
145
158
 
146
159
  function renderRecent() {
@@ -148,6 +161,11 @@
148
161
  els.recentRow.innerHTML = recent.map((g) => tileHtml(g, { eager: true })).join("");
149
162
  els.recentBlock.hidden = recent.length === 0 || !!els.search.value.trim() || activeTag !== "All";
150
163
  }
164
+ function renderNew() {
165
+ const added = RECENTLY_ADDED.map((id) => byId.get(id)).filter((g) => g && !g.hidden);
166
+ els.newRow.innerHTML = added.map((g) => tileHtml(g)).join("");
167
+ els.newBlock.hidden = added.length === 0 || !!els.search.value.trim() || activeTag !== "All";
168
+ }
151
169
 
152
170
  function addRecent(id) {
153
171
  const list = store.get(RECENT_KEY, []).filter((x) => x !== id);
@@ -1030,7 +1048,7 @@
1030
1048
  track(view[0].toUpperCase() + view.slice(1));
1031
1049
  document.querySelectorAll(".rail-btn[data-nav]").forEach((b) =>
1032
1050
  b.classList.toggle("active", b.dataset.nav === (location.hash === "#recent" ? "recent" : view)));
1033
- if (view === "games") { renderRecent(); if (gridStale) { gridStale = false; renderGrid(); } }
1051
+ if (view === "games") { renderRecent(); renderNew(); if (gridStale) { gridStale = false; renderGrid(); } }
1034
1052
  if (location.hash === "#recent") requestAnimationFrame(() => els.recentBlock.scrollIntoView({ block: "start" }));
1035
1053
  }
1036
1054
  function play(id) { location.hash = `#play/${encodeURIComponent(id)}`; }
@@ -1097,6 +1115,10 @@
1097
1115
  new: [], fixes: ["The \"in chat right now\" count no longer gets stuck: people who close the chat or lose connection drop off within a couple of minutes"] },
1098
1116
  { version: "1.0.47", date: "2026-11-16",
1099
1117
  new: ["🌴 New theme: Vice, a pastel waterfront inspired by GTA 6, with boats, birds, clouds and a busy causeway. It's on for everyone during GTA 6 launch week", "⏳ A GTA 6 countdown on the home page, with fireworks on launch day (November 19)", "🔥 The Games page now lists the most played games first (switch to A–Z in the sort menu)", "🎮 29 new games, including Freddy Fazbear's Pizzeria Simulator, Evolve, Trimps, Synergism, Shark Game, A Dark Room, Going Balls and RigBMX"], fixes: ["Fixed big games getting stuck on loading forever (Angry Birds, Retro Bowl College, Vex X3M and more): when the main download server stalls, the site now switches to a backup within seconds", "Fixed games that got stuck partway through loading their own files (Build a Queen and other 3D games)", "Gladi Hoppers and Choppy Orc have their real pictures", "2048 Merge Run was removed: its game files were deleted by their owner"] },
1118
+ { version: "1.0.50", date: "2026-11-17",
1119
+ new: ["🆕 New \"Recently added\" strip on the Games page shows this release's additions at a glance"],
1120
+ games: ["Added 44 fan remakes from the gn-math catalog, including GTA III, Papers Please, Dreadhead Parkour, Celeste, Cuphead, Hollow Knight + Silksong, Super Mario 64, Zelda OoT, Terraria, Stardew Valley, Doom 2/3, Wolfenstein 3D, Half-Life, Pokemon Red/Emerald/FireRed/HeartGold, Geometry Dash, Minecraft 1.21.4, Slope, Idle Dice, Time Shooter 2 and more"],
1121
+ fixes: ["Removed the Chat Bot AI game"] },
1100
1122
  { version: "1.0.45", date: "2026-11-13",
1101
1123
  new: ["New game: 60 Seconds! Reatomized"], fixes: ["The whole site is faster and smoother, especially on Chromebooks: less work in the background on every page, and much smoother scrolling on the Games page", "The Google Classroom loading screen was removed", "The AI chat was removed"] },
1102
1124
  { version: "1.0.44", date: "2026-11-12",
package/config.js CHANGED
@@ -44,4 +44,5 @@ window.RUG_CONFIG = {
44
44
  // For local testing only: send the database to Firebase's local emulator, e.g. "127.0.0.1:9000",
45
45
  // so new rules can be tried without touching the real chat. Leave null when published.
46
46
  firebaseEmulator: null,
47
+
47
48
  };