Commit Graph

503 Commits

Author SHA1 Message Date
martbost 4d6a0f2f83 Game Pass (IAP side): $5 weekly pass across all nine games + account-wide POL cap service
- gamepass.js: durable pass store, waiting orders fulfilled by the next $5 package, cap ledger
  (daily/total per Central day, progress deferral + next-day carry-forward, idempotent refs kept 90 days,
  void), weekly Pass Tournament (Monday 9 AM Central, marks.claim, prizes recorded for the game faucets),
  admin stats. Settings in site config, caps enforced only from capsStartDate (recorded before).
- server.js: /api/partner/player, /api/partner/polgrant(+/void), /api/partner/tournament/pending|paid,
  /api/my/gamepass(+/buy), /api/admin/gamepass/stats|comp|tournament/run; gamePass claim on every
  sign-in hand-off token; purchase-event fulfilment inside the marks.claim block.
- Members > Games: Game Pass card (Buy via IAP.confirmBox, deep link /my#games?pass=1), Overview nudge
  after a free-cap hit. Admin > Game Pass pane. Chatbot canned answer + FACTS, KNOWLEDGE_DATE 10-16.
- qa/gamepass.mjs scripted test (bash qa/run.sh gamepass), Games tab card in qa/walk.mjs.
- docs/GAME-PASS.md: 3a clarifications + Built section; docs/GAME-PASS-RELEASE.md draft (not sent).

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-10-16 08:18:09 -05:00
martbost 0db7c94728 Plan lab: honest licence booking, licence levels kept after the replay, unsponsored joins under the top position, sponsor leg obeys the gap toggle, pool-only members no longer count as paid
- Licence value now books the money each leg actually moved for it (its own share of the level), not the full level price; labelled "licence value funded" with a note on what a licence-granted level costs the system
- gStartRun: after replaying an org, money counters reset but members keep every level they hold, licence-won ones included, and keep what they actually paid in
- Joins with no recruiter go to the top position (spread placement) instead of the earliest member with one recruit, which qualified members who never brought a second
- Sponsor-leg licences respect the gap toggle (skip vs fund), like the depth leg
- "Paid" counts cash or entry share only; pool-only members are reported apart
- The climb and the drawn tree are labelled as simplified depth-only illustrations; headline numbers come from the month-by-month run
- Cache tag bumped

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-15 17:10:12 -05:00
martbost be268beb66 Presentation sponsor card: a capped bio ends on a whole word with an ellipsis
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-15 14:57:13 -05:00
martbost 7aec7d5169 Presentation page + Build Wide 'wide' join angle
- /presentation: the narrated InstantAdPay presentation (video on Spaces
  training/iap-presentation.mp4, poster .jpg), caption pills for
  en/it/fr/es/de/pt (VTTs served from /captions, text/vtt MIME added),
  sponsor card from /api/sponsor ("Shared with you by @name" + Join to
  /join/<ref>?v=wide, or the plain join link). Works framed: join and
  sign-in open a new tab, internal links carry ?ref.
- Site menu + footer: Presentation. Sitemap, Traffic pages and the viral
  page list include it. Promo tools: "Share the presentation" strip copies
  instantadpay.com/presentation?ref=<username>.
- 'wide' join angle (Width unlocks depth.): server JOIN_ANGLES with the
  buildwide poster as og:image, join.js angle (portrait video on phones,
  16:9 otherwise, files promo/buildwide*), link stats row, promo VIDEOS
  first entry with a per-entry file override, front-door list entry.
- Chatbot: presentation canned answer + facts, ?v=wide in the angle lists,
  KNOWLEDGE_DATE 2026-10-15.
- common.js/my.js/promo.js/join.js cache tags bumped; qa/walk.mjs PUBLIC
  gains /presentation.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-15 14:51:04 -05:00
martbost 4759cabf09 Game art off the adrotate.xyz host: ad blockers filter 'adrotate', so the PolyBreak card showed no image (Games tab, public games page) and promo banner previews went blank; serve from the Spaces CDN instead
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-14 08:28:31 -05:00
martbost 2df64f6247 Angle pages: each hook angle shares with its own video frame as the preview image; Share sends one message with the link inside the text (Telegram dropped the separate url)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-13 16:51:58 -05:00
martbost ba811e48f8 Angle page 'play': /join/<member>?v=play shows the 'If you have time to play' video, three points and a Play the free games button (games page with the member's ref) above the free sign-up; listed in Promo tools angle pages; the video's matched link now opens this page
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-13 16:43:46 -05:00
martbost 375ddf75bd Promo tools Videos: 'If you have time to play' angle (games as a trust tool), matched link + caption point at the member's games page ({{GAMES}})
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-13 16:29:37 -05:00
martbost c40b7ccb5c Promo tools: PolyBreak card shows once the game is in the live games list
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-13 12:16:24 -05:00
martbost ab83e37d23 PolyBreak on the network rails (hand-off, in-game sign-in, one-more-paddle refuel receipts, Games card, strip line, return routing) + Promo tools PolyBreak card, 600x300 traffic-exchange size for every game and InstantAdPay's own 600x300 banner
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-13 12:06:57 -05:00
martbost 0f56d3c7bb PolyWarriors launch trailer: Promo tools game card (player, 16:9 + vertical downloads, poster, caption, share) and the public games card plays it; poster replaces the coming-soon art
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-10-12 09:41:35 -05:00
martbost a5acf0c848 Promo tools: PolyWarriors card copy for the live game (24 rivals, fusion, mint passes, Telegram line)
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-10-12 07:56:29 -05:00
martbost 041a3d41ae Bare /join redirects to the sponsored join page (cookie sponsor, else company); games page links /join/<ref> directly
Diann: "Join free" on /games?ref=diannt landed on "Not found". /join, /join?ref=
and the Friday/Wednesday /join?v= links all 404ed because only /join/<token>
was routed.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-10-11 18:26:24 -05:00
martbost 23da5b61ba PolyWarriors mint bar: 4 h cookie (was 7 days), cleared on every exit, x to hide
Members who tapped Mint, saw the price and went back to the game kept the blue
"PolyWarriors mint" bar on the dashboard for a week. The cookie now lives 4 h,
is cleared by Back to PolyWarriors / Cancel (new /pw/mint/leave), by the
mint-pass success redirect, and by an x on the bar (/pw/mint/dismiss). The
waiting order itself is untouched: a later package still completes the mint.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-10-11 06:28:53 -05:00
martbost 7b4c2ef9e5 Games page featured strip: tags at the card foot
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-10-10 18:20:38 -05:00
martbost 1ffca3030c Games page: featured PolyWarriors listings come through a same-origin proxy (/api/public/pw-featured, 60 s cache); the page CSP blocked the direct call
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-10-10 18:13:09 -05:00
martbost ef6c6b584e Games page: a strip of featured warriors from the PolyWarriors market (rarest listings, forged art, links into the market)
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-10-10 18:07:32 -05:00
martbost 84d54eda16 Games page in Promo tools (All games entry with the member's referral, three posts), in the viral-link page list and the chatbot; a generic games banner (1200x630 + 1080 square) as the /games share image instead of the two-games launch art (Marty 2026-10-10)
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-10-10 14:18:55 -05:00
martbost fcb9edd2eb Public games page at /games (Marty 2026-10-10: a page to send people): every game, open ones first, dated ones after, with play links to each game's site, OG tags, and a join call that keeps ?ref; data from the new public /api/public/games/all
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-10-10 14:06:55 -05:00
martbost f8e55413ee Mint passes survive deploys: durable persisted maps (passes, prizes, game orders) are restored whatever their age, pass records carry ts; the admin member card shows PolyWarriors mint passes
The open-tokens loader kept only entries newer than 2 hours, meant for short-lived earn tokens; pass balances had no ts, so every deploy wiped them (Orlando's were lost on 2026-10-10).

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-10-10 09:51:06 -05:00
martbost 4b7b1c5d95 Two-games launch short (35 s vertical, SpellWheel + ClutterHunt gameplay, Marty's voice) hosted for social posts
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-10-10 07:09:09 -05:00
martbost 69b7395387 Two-games launch banner (SpellWheel + ClutterHunt, 2026-10-10) in 1200x630 and 1080x1080 for social posts
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-10-10 06:39:58 -05:00
martbost 7d20cd2c35 Login ad: frame the sponsor's page inside the gate under the timer bar (open-in-tab link, dashboard button), new-tab fallback only when the site refuses framing (Brian Holland: no timer, no way out on the ad tab)
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-10-09 09:17:48 -05:00
martbost f53bd67d30 Dwell timers no longer stall on phones: a focused ad frame or a touch device counts as an active tab (Brian Holland 2026-10-09: no timer, no close on the welcome tour and verified ads on mobile)
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-10-09 08:44:27 -05:00
martbost 75339757e5 Promo kit: October Five Dollar Friday banners (bright porch, 1200x630 + 1080x1080) at the top of the Friday band
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-10-09 04:48:36 -05:00
martbost d4b0e74829 Archived card shows what each campaign actually returned (Yoshi: 'credits released' read as a refund on 7 fully delivered campaigns)
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-10-08 13:40:31 -05:00
martbost d07a32a837 Game return bars say what happens: buy a package and you go straight back to the game when it settles
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-10-08 08:31:49 -05:00
martbost 67cb82eef3 Game purchases return to the game automatically once settled (PolyWarriors mint, Gem Kingdom Crowns, Spooky Doors costumes); status toast lifts above the game return bar so results are readable
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-10-08 08:28:18 -05:00
martbost 7131adfc42 Games tab: Play opens the game in a new tab so the dashboard keeps its place (Marty 2026-10-08)
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-10-08 07:51:45 -05:00
martbost b82f63f803 Road Agent card shows 'Opens Thursday, Oct 15' to every member until launch day; Promo tools gain the Road Agent entry on launch day
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-10-07 14:10:20 -05:00
martbost 04fad66dab Road Agent hooks: per-game door round trip (fuel stops under RA_SSO_SECRET, callbacks to RA_URL), /api/my/roadagent hand-off, registry + strip entries (not live), wallet nudges ask Road Agent, door page words itself as a fuel stop
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-10-07 12:30:41 -05:00
martbost 616bd37142 Wallet-link nudges: hourly job asks each game (signed with the shared secret) for players with POL waiting and no wallet, sends up to three notices per person (now, 3 days, 10 days) in-app and by opt-in email, stops when a wallet is linked; coach directs badge "POL waiting, no wallet"; admin view and run endpoint
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-10-07 10:35:16 -05:00
martbost ca065e456e Coach directs: Pay it forward is offered to any direct with a linked wallet who has not bought a package yet, including directs who already switched payouts on (the gift funds the first package, not the activation)
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-10-07 10:14:41 -05:00
martbost 5c31f4540c Sign-in guard: measure form age on the visitor's own clock (fage) so a device with a fast clock is not refused forever
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-07 04:26:58 -05:00
martbost 98c24c2e6b Platform facts page (/facts) and /llms.txt: verified contract split, credits, refunds, anti-fraud and games; footer link on every page; sitemap entry
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-06 15:25:26 -05:00
martbost ef8b256172 Promo tools: one Games tab (picker for all 7 games; PolHunter and Spooky Doors kits live inside it; link, share image, posts and 10 banner sizes per game); SpellWheel link fixed to spellwheel.com
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-06 08:16:12 -05:00
martbost 5a39b2599f Promo tools: Game banners section (7 games x 10 standard sizes on banners.adrotate.xyz, embed code linked to the member)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-06 07:52:17 -05:00
martbost 8251c0e693 Broadcasts: a pop-up when sent (how many members) and when not sent (why); an expired sign-in keeps the draft and offers Sign in again (Brian 2026-10-05)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-05 11:57:06 -05:00
martbost ba5cdfdf4b Network labeling: InstantAdPay is the Polygon hub of the Crypto Team Build Network (footers, dashboard footer, Games tab)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-05 09:48:25 -05:00
martbost e3b2c7b579 PolyWarriors mints: every $5 of packages bought while a mint waits earns one mint pass (bigger packages earn more, kept on the account); one-tap 'use a pass'; members keep the ad credits; existing credits never pay for mints (replaces the 100-credit checkout)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-05 09:15:30 -05:00
martbost ec57a926fc Welcome back bonus: +250 earned credits on the first sign-in after 7+ days away (settings comebackBonus/comebackDays)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-05 08:28:54 -05:00
martbost 503a252fc8 P&L: Game marketing category for game wallet top-ups (old top-ups moved once from Player rewards); counted in Advertising and promotion
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-05 08:22:06 -05:00
martbost 18813a4127 PolyWarriors paid mints: /pw/mint checkout, 100 credits from package credits only (earned never counts)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-05 07:56:44 -05:00
martbost d1a638b66b Games tab: PolyWarriors coming-soon card (opens Monday Oct 12); sign-in kit's one-tap link carries the inviter's ref
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-05 07:32:13 -05:00
martbost c99896c131 Member welcome offer from the games: starter.js (+100 purchased-grade credits on a first $5+ package after a game visit within 14 days, once per account; setting starterBonusCredits), /api/starter + /api/starter/public, /my?from=<game>#buy banner with the way back to the game perk, Members get <perk> on game cards, admin Traffic 'Games to members' table
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-05 06:26:03 -05:00
martbost e09babc1ff SpellWheel hookups: in-game sign-in (game 'spellwheel', SW_SSO_SECRET), one-tap /api/my/spellwheel, sponsor-visit hints through the shared refuel flow (sw-hint receipts)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-04 08:56:40 -05:00
martbost 1ac5e1d206 Coming-soon card: no ribbon (the art says it and it covered the title)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-04 08:28:38 -05:00
martbost 5a4b27f50e 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>
2026-10-04 08:27:11 -05:00
martbost a453366964 Games cards: frame matches the 1200x630 art (no side crop); limited-time ribbon top-right so it no longer covers the title
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-04 08:02:19 -05:00
martbost eb3cfebf1f P&L: Cost lines with tax categories (advertising, player rewards, software, other), outside-wallet source, duplicate-tx guard; Tax summary (income vs advertising/promotion, own sales excluded, CSV)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-04 07:22:21 -05:00