Spaces:
Running
Running
Deploy latchkite
Browse files- funpass.js +2 -2
- index.html +1 -1
funpass.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
| 1 |
// CyberMax Fun Pass: ONE optional supporter pass for every CyberMax game (copied into each game's web/ folder).
|
| 2 |
// Free games stay free. The pass removes the supporter nudges and unlocks extra packs, the full archive and themes.
|
| 3 |
-
// Monthly $2.99 路 Yearly $19 路
|
| 4 |
// Buy: counted redirect https://data.cybermaxtools.com/buy/st-fun-pass-<plan>?s=game-<id> -> Stripe checkout.
|
| 5 |
// After checkout Stripe sends the buyer to data.cybermaxtools.com/unlock/fun-pass?session_id=..., which checks
|
| 6 |
// the Checkout Session (and, for a subscription, that it is still active) and returns to /games/ with #cmx-pro=<code>.
|
|
@@ -15,7 +15,7 @@ const RECHECK = 3 * 864e5; // subscriptions are re-checked every 3 days; a cance
|
|
| 15 |
export const PLANS = [
|
| 16 |
{ id: 'monthly', label: 'Monthly', price: '$2.99', per: '/month', note: 'Cancel any time' },
|
| 17 |
{ id: 'yearly', label: 'Yearly', price: '$19', per: '/year', note: 'Save 47%', best: true },
|
| 18 |
-
{ id: 'unlock', label: '
|
| 19 |
];
|
| 20 |
export const COMMON_PERKS = ['No supporter nudges, ever', 'Extra puzzle packs in every game', 'The full archive of past dailies', 'Custom colour themes'];
|
| 21 |
|
|
|
|
| 1 |
// CyberMax Fun Pass: ONE optional supporter pass for every CyberMax game (copied into each game's web/ folder).
|
| 2 |
// Free games stay free. The pass removes the supporter nudges and unlocks extra packs, the full archive and themes.
|
| 3 |
+
// Monthly $2.99 路 Yearly $19 路 Lifetime $29.99 once (Stripe Payment Links, pack revenue/packs/stripe/fun-pass).
|
| 4 |
// Buy: counted redirect https://data.cybermaxtools.com/buy/st-fun-pass-<plan>?s=game-<id> -> Stripe checkout.
|
| 5 |
// After checkout Stripe sends the buyer to data.cybermaxtools.com/unlock/fun-pass?session_id=..., which checks
|
| 6 |
// the Checkout Session (and, for a subscription, that it is still active) and returns to /games/ with #cmx-pro=<code>.
|
|
|
|
| 15 |
export const PLANS = [
|
| 16 |
{ id: 'monthly', label: 'Monthly', price: '$2.99', per: '/month', note: 'Cancel any time' },
|
| 17 |
{ id: 'yearly', label: 'Yearly', price: '$19', per: '/year', note: 'Save 47%', best: true },
|
| 18 |
+
{ id: 'unlock', label: 'Lifetime', price: '$29.99', per: ' once', note: 'Pay once, keep forever' },
|
| 19 |
];
|
| 20 |
export const COMMON_PERKS = ['No supporter nudges, ever', 'Extra puzzle packs in every game', 'The full archive of past dailies', 'Custom colour themes'];
|
| 21 |
|
index.html
CHANGED
|
@@ -70,4 +70,4 @@
|
|
| 70 |
<footer>漏 2026 CyberMax 路 <a href="https://cybermaxtools.com/games/">Games</a> 路 <a href="https://cybermaxtools.com/toys/">Toys</a> 路 <a href="https://cybermaxtools.com/store/">Store</a> 路 <a href="https://cybermaxtools.com/privacy">Privacy</a> 路 <a href="https://cybermaxtools.com/terms">Terms</a></footer>
|
| 71 |
</div>
|
| 72 |
<script type="module" src="game.js"></script>
|
| 73 |
-
<
|
|
|
|
| 70 |
<footer>漏 2026 CyberMax 路 <a href="https://cybermaxtools.com/games/">Games</a> 路 <a href="https://cybermaxtools.com/toys/">Toys</a> 路 <a href="https://cybermaxtools.com/store/">Store</a> 路 <a href="https://cybermaxtools.com/privacy">Privacy</a> 路 <a href="https://cybermaxtools.com/terms">Terms</a></footer>
|
| 71 |
</div>
|
| 72 |
<script type="module" src="game.js"></script>
|
| 73 |
+
</body></html>
|