Files
martbost 654cd7b408 Network Tour (Marty 2026-11-17): mission rotation per hunter + free-tier tour stops
- lib/rotation.js: a round = every active house mission; the board offers only missions not found this
  round, never-visited first, then least recently found; mid-round additions join as not found, paused
  missions are skipped; the start gate refuses a mission found earlier this round. State per member in
  rotation.json (start, rounds); everyone starts at 0 so round 1 = their whole history. Paid missions
  keep their rules; daily limits, draws, pool and tiers unchanged. Setting rotationOn (default 1).
- Board: "Network tour: X of Y sites this round" with a progress bar and the sites left; New to you tag.
- Badge sweep renamed Full Network Tour (art unchanged), earned by the old rule or a closed round;
  celebrated on the board every round, round count on the card, Telegram posts it once.
- Free tier: POL only for discovery (first find of a mission). A repeat find is a tour stop: counts as
  the day's hunt and for the tour, 0 POL, ad credits through a signed call to InstantAdPay
  (polgrant.credits -> POST /api/partner/credits, idempotent on ref tour:<row id>); settings
  tourStopCredits 10 / tourStopCreditsDailyMax 10; unconfirmed stops stay owed and retry every 2 min.
  Game Pass holders unchanged. Toured free members see the Game Pass line on the board.
- Admin: Network Tour section (settings, rounds per hunter, credits sent/owed), GET /api/admin/rotation.
- Board daily line now passes the tier (a Pass holder saw 3, not 5).
- fridaybank: http for a local stub IAP (tests). Tests: test/rotation.js (27 checks), run.js waits for
  /health instead of a fixed 1.2 s. Guides: how-a-hunt-works, faq, free-account explain the tour.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-17 09:20:42 -06:00

65 lines
3.8 KiB
HTML
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1">
<title>Your board · PolHunter</title>
<meta name="robots" content="noindex">
<link rel="stylesheet" href="/style.css?v=20">
</head>
<body>
<div class="wrap">
<header class="top">
<a class="mark" href="/"><span class="coin"></span>PolHunter</a>
<nav class="nav"><span class="pill" id="who"><i></i> …</span><a class="btn pol sm" href="https://instantadpay.com/my" title="Back to your InstantAdPay dashboard">&larr; InstantAdPay</a><a class="btn ghost sm" href="/leaders">Leaderboard</a><a class="btn ghost sm" href="/promo">Promo tools</a><a class="btn ghost sm" href="/logout">Sign out</a></nav>
</header>
<div class="standing" id="standing"></div>
<section class="section" style="padding-top:10px">
<h2>Your missions</h2>
<div class="sub" id="rangeLine">Each find pays a random drip. Your codes are yours alone.</div>
<div id="refSlot"></div>
<div id="boxSlot" class="box-card" hidden></div>
<div id="fbank" hidden style="margin:12px 0 16px;padding:14px 16px;border-radius:16px;border:1px solid var(--edge-hi);background:rgba(130,71,229,.12)"></div>
<div class="grid" id="missions"><div class="card"><p>Loading your board…</p></div></div>
</section>
<!-- cross-promo strip (2026-10-03): the other network games, from InstantAdPay's shared list -->
<section class="section" id="moreGamesSec" hidden>
<h2>More games that pay POL</h2>
<div class="sub">Missions done for today? Same InstantAdPay account in every one of these.</div>
<div id="moreGames" class="moreGames"></div>
</section>
<section class="section" id="badgesSec">
<h2>Your badges</h2>
<div class="sub">Earned from your finds. Share one and the card carries your name and your link.</div>
<div class="badge-strip" id="badgeStrip"></div>
</section>
<div class="adslot" data-nas data-ad="board"><!-- nas: 468x60 on phones, 728x90 on wider screens; framed by /nas.js so a dead ad server never blocks the page --></div>
<section class="section">
<h2>Your drips</h2>
<div class="ledger" id="mine"></div>
</section>
<section class="section" id="share">
<h2>Share your hunt</h2>
<div class="sub">Your link puts sign-ups on your InstantAdPay line. Post a find, or just the link.</div>
<div class="copybox"><input id="mylink" readonly value=""><button class="btn pol sm" id="copylink">Copy link</button></div>
<textarea id="sharetext" rows="4" style="margin-top:10px"></textarea>
<div class="sharebtns" id="sharebtns"></div>
<p class="small" style="margin-top:10px">Banners, swipes and the teaser video are on the <a href="/promo">promo tools</a> page, already carrying your link.</p>
</section>
<footer class="foot">Rewards are for completed missions, not income. The daily pool is limited; when it is spent, claims close until midnight Central. Cryptocurrency involves risk of loss.<br>&copy; 2026 TrustClickz &middot; <a href="/terms">Terms</a> &middot; <a href="/disclaimer">Rewards disclaimer</a> &middot; <a href="/privacy">Privacy</a> &middot; <a href="https://instantadpay.com/support" rel="noopener">Support</a></footer>
</div>
<div class="modal" id="shareModal" hidden><div class="modal-card"><button class="modal-x" id="shareClose" type="button" aria-label="Close">×</button><div id="shareBody"></div></div></div>
<script src="https://instantadpay.com/assets/game-strip.js?v=20261003a"></script>
<script>if (window.IAPGames) IAPGames.strip(document.getElementById('moreGames'), { current: 'polhunter', title: ' ' }).then(function (n) { var m = document.getElementById('moreGames'), h = m.querySelector('.gs-h'); if (h) h.remove(); document.getElementById('moreGamesSec').hidden = !n; });</script>
<script src="/app.js?v=23"></script>
<script src="/nas.js?v=20261024" defer></script>
</body>
</html>