Tiers (Marty 2026-11-02, every game must fund itself): guests earn nothing (a guest's chapters, drips and best follow them at sign-in, the POL does not; no more collected= payout on /auth), a free InstantAdPay account earns freeSharePct (25, admin) of the chapter drip with the note "Game Pass holders earn the full amount.", Game Pass holders earn the full drip plus the shield perk, GAMEPASS off = everyone full. /api/me carries tier, freeSharePct and yourDrip; landing, lobby, clear card, tester briefing and share preview say play free, sign in to earn a taste, Game Pass for the full table. Tests: guest 0 at sign-in, free 25%, pass 100%, gp off full, settings key.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
martbost
2026-11-02 17:01:10 -06:00
parent 4d8dde2ad2
commit b69086aaac
11 changed files with 92 additions and 55 deletions
+2 -1
View File
@@ -23,6 +23,7 @@
<form id="settings" class="card" style="max-width:none">
<div class="row">
<div><label>Drip per first clear (POL)</label><input name="dripPol" type="number" step="0.001" min="0"></div>
<div><label>Free account share of the drip (%, Game Pass = 100)</label><input name="freeSharePct" type="number" step="1" min="0" max="100"></div>
<div><label>Daily cap on drips (POL)</label><input name="dailyCapPol" type="number" step="0.01" min="0"></div>
<div><label>Payout threshold (POL)</label><input name="thresholdPol" type="number" step="0.01" min="0"></div>
<div><label>Seed float (POL, on purpose)</label><input name="seedPol" type="number" step="0.01" min="0"></div>
@@ -51,6 +52,6 @@
<h2>Payouts</h2><div class="scroll"><table id="payouts"></table></div>
<h2>Recent runs</h2><div class="scroll"><table id="runs"></table></div>
</div>
<script src="/admin.js"></script>
<script src="/admin.js?v=20261102"></script>
</body>
</html>