Drip Runner
+Loading sign-in…
From 9c693fcf63da5f72c79255ef5d41e09c7e618b5b Mon Sep 17 00:00:00 2001
From: martbost A fast little runner game for InstantAdPay members. Grab gold drips, dodge the bots, clear chapters. Your first clear of every chapter drips POL into your game balance, and it pays out to the wallet on your InstantAdPay account. New to InstantAdPay? The first button signs you up free with just your email, then drops you straight into the game. Drip Runner pays small amounts of POL for play that the game can verify. Amounts depend on the pool, which is funded by the ad visits players make, and can change. Nothing here is a promise of income. One account per person. Part of the Crypto Team Build Network, alongside InstantAdPay and PolHunter.Hop the network.
Get paid in POL.
Drip Runner
+Loading sign-in…
diff --git a/public/play.js b/public/play.js index efb05c2..be33228 100644 --- a/public/play.js +++ b/public/play.js @@ -59,9 +59,11 @@ function lobby() { $('lChap').textContent = P.chapter; $('lDrips').textContent = P.bank.toLocaleString(); $('lPol').textContent = f3(BAL.unpaid); $('lPool').innerHTML = 'POL pool ' + f3(POOL.available) + ' · today’s cap left ' + f3(POOL.capLeft) + ' · a chapter drip is ' + f3(POOL.dripPol) + ''; $('lIap').href = IAP + '/my'; $('bLevel').href = IAP + '/my#buy'; tip('lTip'); + // signed in through the game: these open InstantAdPay already signed in (in-game sign-in pass, 2026-10-03) + [['lIap', 'overview'], ['bLevel', 'buy']].forEach(function (x) { var a = $(x[0]); if (a && !a.dataset.pass) { a.dataset.pass = 1; a.addEventListener('click', function (ev) { if (window.IAPSignin && IAPSignin.hasPass()) { ev.preventDefault(); IAPSignin.enter(x[1]); } }); } }); if (ME.guest) { $('lMember').innerHTML = 'Playing as a guest · sign in to keep your progress and collect POL'; - $('bSignin').hidden = false; $('bSignin').href = ME_EXTRA.signin || (IAP + '/api/my/driprunner'); $('lShare').hidden = true; + $('bSignin').hidden = false; $('bSignin').href = ME_EXTRA.signin || '/signin'; $('lShare').hidden = true; } else { $('lMember').innerHTML = 'InstantAdPay · ' + (ME.username ? '@' + ME.username : '#' + ME.memberId) + ' · ' + (ME.wallet ? ME.wallet.slice(0, 6) + '…' + ME.wallet.slice(-4) : 'no wallet on file'); $('bSignin').hidden = true; @@ -143,7 +145,7 @@ function cleared() { $('cBig').innerHTML = '+' + f3(c.pol) + 'POL'; $('cBig').classList.toggle('dim', !c.pol); var why = { paid: 'First clear, verified. Added to your game balance.', replay: c.first ? 'Verified.' : 'You cleared this one before. Only the first clear pays.', pool: 'The POL pool is empty right now. Refuel visits fill it, so this clear counts but pays nothing.', cap: 'Today’s pool cap is spent. Chapter counts, no POL today.', flagged: 'This run was flagged by the server check, so it pays nothing.', guest: 'You are playing as a guest. Sign in with InstantAdPay and this clear pays ' + f3(POOL.dripPol) + ' POL into your balance. Your progress comes with you.' }; $('bShareClear').hidden = !!ME.guest || !ME_EXTRA.share; $('bShareClear').dataset.text = 'I just cleared Chapter ' + c.chapter + ' in Drip Runner' + (c.pol ? ' and it paid ' + f3(c.pol) + ' POL' : '') + '. Hop the network, dodge the bots:'; - $('bClearSignin').hidden = !ME.guest; if (ME.guest) $('bClearSignin').href = ME_EXTRA.signin || (IAP + '/api/my/driprunner'); + $('bClearSignin').hidden = !ME.guest; if (ME.guest) $('bClearSignin').href = ME_EXTRA.signin || '/signin'; $('cText').textContent = why[c.reason] || ''; $('cChip').className = 'chip ' + (c.pol ? 'ok' : 'sig'); $('cChip').textContent = (c.pol ? 'verified' : c.reason) + ' · ' + tm + ' play time'; R.chapter = c.next; R.goal = c.nextGoal; R.chapDrips = 0; if (r.pool != null) POOL.available = r.pool; tip('cTip'); setTimeout(function () { show('ovClear'); }, 500); @@ -165,7 +167,7 @@ function snapshot(nonce) { } $('bRefuel').addEventListener('click', function () { if (!R) return; - if (ME.guest) { location.href = ME_EXTRA.signin || (IAP + '/api/my/driprunner'); return; } // guests sign in first; their progress follows them + if (ME.guest) { location.href = ME_EXTRA.signin || '/signin'; return; } // guests sign in first; their progress follows them $('bRefuel').disabled = true; api('/api/refuel/start', { runId: R.id }).then(function (r) { $('bRefuel').disabled = false; @@ -252,7 +254,7 @@ loadMe().then(function () { if (q.get('collected')) { history.replaceState(null, '', '/play'); setTimeout(function () { toast('Signed in. Your guest clears paid ' + q.get('collected') + ' drip' + (q.get('collected') === '1' ? '' : 's') + ' into your balance.'); }, 600); } lobby(); }).catch(function (r) { - var b = $('loadBtn'); b.hidden = false; b.href = (r && (r.signin || r.iap)) || IAP + '/api/my/driprunner'; + var b = $('loadBtn'); b.hidden = false; b.href = (r && (r.signin || r.iap)) || '/signin'; if (r && r.guestOk) { // came through a share or tester link: play first, sign in later $('loadTitle').textContent = 'Ready to run'; $('loadText').textContent = 'Play a run right now, no sign-in. Sign in with InstantAdPay when you want to keep your progress, refuel, and collect POL.'; b.textContent = 'Sign in with InstantAdPay'; b.className = 'btn ghost'; var g = $('loadGuest'); g.hidden = false; diff --git a/public/signin.html b/public/signin.html new file mode 100644 index 0000000..77e9842 --- /dev/null +++ b/public/signin.html @@ -0,0 +1,28 @@ + + +
+ + + +
+ + + + +
+