Games tab: SpellWheel coming-soon card (date, no Play until Oct 10); ClutterHunt card now says it pays POL
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -1403,7 +1403,11 @@ function GAMES() {
|
||||
{ slug: 'polhunter', name: 'PolHunter', tag: 'Scavenger hunt', blurb: 'Hunt hidden codes on sites across the network. Every find drips POL straight to your wallet.',
|
||||
art: 'https://polhunter.com/img/hero-800.webp', play: '/api/my/polhunter', pays: 'POL per find' },
|
||||
{ slug: 'clutterhunt', name: 'ClutterHunt', tag: 'Hidden objects', blurb: 'Search cozy, cluttered rooms for hidden objects. New rooms every season, starting with the Haunted Manor.',
|
||||
art: SEEK_URL() + '/og-clutterhunt.jpg', play: '/api/my/clutterhunt', pays: 'Stars now, rewards coming' },
|
||||
art: SEEK_URL() + '/og-clutterhunt.jpg?v=c2', play: '/api/my/clutterhunt', pays: 'POL for first clears and 3-star clears' },
|
||||
// coming soon (2026-10-04, Marty: "build some anticipation... show that it's coming soon and put the date"): every member sees
|
||||
// the card with its date and no Play button until `soon.opens` (Central); from then it is an ordinary card, live via gamesLive
|
||||
{ slug: 'spellwheel', name: 'SpellWheel', tag: 'Word game', blurb: 'Swipe the letter wheel to fill the crossword, travel through six cozy places, and solve a new daily puzzle with everyone. Clear levels and chapters to earn POL.',
|
||||
art: '/assets/games/spellwheel-soon.jpg?v=1', play: '/api/my/spellwheel', pays: 'POL for levels, chapters and daily puzzles', soon: { opens: '2026-10-10', label: 'Opens Saturday, Oct 10' } },
|
||||
];
|
||||
}
|
||||
// -- cross-promo strip (2026-10-03): one short line per game and where a signed-out player lands (the game's own page)
|
||||
@@ -3144,6 +3148,7 @@ const server = http.createServer(async (req, res) => {
|
||||
const dayLabel = (d, back) => { const t = new Date(d + 'T12:00:00Z'); if (back) t.setUTCDate(t.getUTCDate() - 1); return t.toLocaleDateString('en-US', { month: 'short', day: 'numeric', timeZone: 'UTC' }); };
|
||||
for (const g of GAMES()) {
|
||||
// a seasonal game (2026-10-02) shows only while today (Central) is in [start, end); before start the admin sees a preview, after end nobody
|
||||
if (g.soon && day < g.soon.opens) { out.push(Object.assign({}, g, { live: false, preview: false, soon: g.soon.label, play: null })); continue; } // coming soon: shown to all, not playable
|
||||
const ss = seasonState(g.season, day, admin); if (ss === 'hidden') continue;
|
||||
const seasonPreview = ss === 'preview';
|
||||
const isLive = live.has(g.slug); if (!isLive && !admin) continue;
|
||||
|
||||
Reference in New Issue
Block a user