diff --git a/html/favicon-monero.png b/html/favicon-monero.png new file mode 100644 index 0000000..4f37d3f Binary files /dev/null and b/html/favicon-monero.png differ diff --git a/html/index.html b/html/index.html index 639ed8d..9e4b17c 100644 --- a/html/index.html +++ b/html/index.html @@ -3,8 +3,8 @@ Wownerogue - A Wownero Roguelike - - + + @@ -221,7 +221,7 @@ diff --git a/html/js/ui/paymentUI.js b/html/js/ui/paymentUI.js index 03e988a..615101b 100644 --- a/html/js/ui/paymentUI.js +++ b/html/js/ui/paymentUI.js @@ -113,7 +113,17 @@ const PaymentUI = { // Reset selected package this.selectedPackageId = null; - + + // Explain the two leaderboards up front when both paid and free are available. + if (this.config.paymentsEnabled && this.config.freePlayEnabled) { + $container.append( + '
' + + '🏅 Pay (credits or single entry) to put your high scores in the Hall of Champions.
' + + '🪙 Play free — high scores go to the Pleb leaderboard instead.' + + '
' + ); + } + // === SECTION 1: Use existing credits (if available) === if (hasCredits && this.config.creditsModeEnabled) { const creditsPayoutsEnabled = this.config.creditsPayoutsEnabled; @@ -125,9 +135,9 @@ const PaymentUI = { const baseFormatted = this.formatPrice(creditsBaseValue); const escapeWin = (parseFloat(baseFormatted) * creditsMultipliers.escape).toFixed(2); const treasureWin = (parseFloat(baseFormatted) * creditsMultipliers.escapeWithTreasure).toFixed(2); - payoutNote = `💰 Win: ${creditsMultipliers.escape}x (${escapeWin} ${currency}) • Treasure: ${creditsMultipliers.escapeWithTreasure}x (${treasureWin} ${currency})`; + payoutNote = `💰 Win: ${creditsMultipliers.escape}x (${escapeWin} ${currency}) • Treasure: ${creditsMultipliers.escapeWithTreasure}x (${treasureWin} ${currency})
🏅 High scores enter the Hall of Champions`; } else { - payoutNote = 'No crypto payouts • Play for fun'; + payoutNote = '🏅 High scores enter the Hall of Champions'; } $container.append(` @@ -156,9 +166,9 @@ const PaymentUI = { if (directPayoutsEnabled) { const escapeWin = (parseFloat(price) * multipliers.escape).toFixed(2); const treasureWin = (parseFloat(price) * multipliers.escapeWithTreasure).toFixed(2); - payoutInfo = `Win: ${multipliers.escape}x (${escapeWin} ${currency}) • Treasure: ${multipliers.escapeWithTreasure}x (${treasureWin} ${currency})`; + payoutInfo = `Win: ${multipliers.escape}x (${escapeWin} ${currency}) • Treasure: ${multipliers.escapeWithTreasure}x (${treasureWin} ${currency})
🏅 High scores enter the Hall of Champions`; } else { - payoutInfo = 'No crypto payouts'; + payoutInfo = '🏅 High scores enter the Hall of Champions'; } $container.append(` @@ -193,7 +203,7 @@ const PaymentUI = { const treasureWin = (parseFloat(baseFormatted) * creditsMultipliers.escapeWithTreasure).toFixed(2); creditsPayoutInfo = `
💰 Win: ${creditsMultipliers.escape}x (${escapeWin} ${currency}) • Treasure: ${creditsMultipliers.escapeWithTreasure}x (${treasureWin} ${currency})
`; } else { - creditsPayoutInfo = `
No crypto payouts • Play for fun with bulk discount
`; + creditsPayoutInfo = `
🏅 High scores enter the Hall of Champions • bulk discount
`; } let packagesHtml = ''; @@ -264,7 +274,7 @@ const PaymentUI = { // alongside paid (freePlayEnabled). Free games go to the Pleb leaderboard. if (this.config.freePlayEnabled) { const note = this.config.paymentsEnabled - ? 'No payout • Pleb leaderboard' + ? '🪙 Free — high scores go to the Pleb leaderboard' : 'No payments required'; $container.append(`