Commit Graph

14 Commits

Author SHA1 Message Date
martbost 11d6f46950 Invite friends card in the lobby + ?ref attribution on every entry page
Marty: members could not find their referral link. A signed-in player now sees an
"Invite friends" card right under Play: their /r/<username> link (previews with their
own card), Copy (clipboard API, select+copy fallback, prompt last) with a Copied!
confirmation, and Share where the phone has a share sheet. Link stats and the how-it-works
line moved into the card. No username yet: the card says how to get one.

Attribution: ?ref=<name> on /, /play and /signin (and ?r= on the landing, where framed
/r/<name> lands) now sets the same dr.ref sponsor cookie as /r/<name>, last touch wins.
/r/<name> for a name the game does not know keeps it as /?ref=<name> instead of
dropping it. signin.js also reads ?ref straight from the URL. Tests cover each path.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-05 07:25:22 -05:00
martbost 09692de8c6 Member welcome offer + member perk: after a chapter clear, a signed-in non-member (IAP memberId 0) sees a dismissible "Become an InstantAdPay member" card once per Central day (bonus from IAP /api/starter/public, cached 10 min, skipped when off); a member's first hand-off grants one free hangar upgrade (token on the player, next purchase costs nothing, no POL moved), with a one-time lobby message
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-05 06:24:20 -05:00
martbost 4fa68b2745 Share links preview as the sharer's own card (badge with their name) for Telegram/Facebook/X; the game page previews as the Drip Runner banner, not the blank badge
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-04 10:18:49 -05:00
martbost 305bd435fa Cross-promo: More games strip from InstantAdPay's shared list (2026-10-03)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-03 10:23:46 -05:00
martbost 19b4bf8fbb Hidden means hidden on every element: .btn{display:block} beat the hidden attribute, so signed-in players still saw 'Sign in to keep progress'
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-03 10:09:33 -05:00
martbost 9c693fcf63 In-game sign-in: /signin runs the InstantAdPay kit (no trip to InstantAdPay), CSP admits instantadpay.com, dashboard and Level up links open InstantAdPay signed in
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-03 10:02:47 -05:00
martbost 50b135d84f Explain team referral earnings: 'Earn from your team' section on the landing page (who counts, 10% of each refuel's pool add, paid at the payout line, where to see it) and a how-it-works line under the lobby share link
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-01 14:43:31 -05:00
martbost 756c16a8b4 Lobby scrolls on short phone screens and clears the browser toolbar (Hugh, iPhone Safari: Share your link sat under the bar)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-01 12:29:31 -05:00
martbost 7dfed34eaa driprunner.app is home: other hosts forward pages (path + query kept), API/callback/health/badges answer everywhere; preview images on the new domain
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-01 06:02:44 -05:00
martbost a7498b562d Refuel label: sponsor page or video
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-30 17:51:41 -05:00
martbost 06daa4ef0a Referral layer: guest play from share links (/r/<username>), guest clears paid on sign-in, sharer's link via their IAP join page, 10% referrer slice of each referral refuel's pool income (IAP sponsor), share buttons + stats in the lobby and on chapter clears, wallet-less progress follows the member once a wallet is linked; 11 new checks
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-30 17:14:08 -05:00
martbost 83da8c33f2 Facts you learn as you play (SkyCash): tips priced from the live IAP catalog on the lobby, run-over and chapter-cleared cards; Level up on InstantAdPay button in the lobby
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-09-30 15:35:32 -05:00
martbost c35d118ace Lobby links back to the IAP dashboard and the tester briefing; briefing explains the sign-in return path
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-09-30 13:59:09 -05:00
martbost 903b5065b9 Drip Runner trial: IAP hand-off, seeded runs with server replay check, self-funding POL pool (refuel ad share + hangar spends), chapter drips, threshold payouts via faucet (dry run), tester allowlist + briefing page, admin page, e2e test
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-09-30 13:21:39 -05:00