Add the Sokko TCG collectible card mini-game

Add the server-backed card game: Discord login, recharging pack openings,
album, trades, gifts, stardust shop, campaign codes and its administration,
stored in SQLite and disabled in production until configured.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Shinuwa 2026-11-05 17:47:35 +01:00
parent 243465720f
commit 5ce35cd7ba
193 changed files with 12159 additions and 28 deletions

View file

@ -87,6 +87,7 @@ export function validateSiteContent(site) {
"navigation.home",
"navigation.toolboxes",
"navigation.games",
"navigation.cards",
"navigation.library",
"navigation.about",
"sidebar.badge",
@ -95,6 +96,7 @@ export function validateSiteContent(site) {
"topbar.toolbox",
"topbar.library",
"topbar.games",
"topbar.cards",
"topbar.gameViewLabel",
"topbar.guideView",
"topbar.toolboxView",
@ -106,6 +108,129 @@ export function validateSiteContent(site) {
"gamesPage.emptyTitle",
"gamesPage.emptyText",
"gamesPage.retryLabel",
"cards.eyebrow",
"cards.title",
"cards.description",
"cards.loadingTitle",
"cards.loadingText",
"cards.disabledTitle",
"cards.disabled",
"cards.errorTitle",
"cards.loginDescription",
"cards.discordLogin",
"cards.discordUnavailable",
"cards.discordErrors.denied",
"cards.discordErrors.expired",
"cards.discordErrors.failed",
"cards.devLogin",
"cards.admin.backToGame",
"cards.admin.restrictedTitle",
"cards.admin.restrictedText",
"cards.home.eyebrow",
"cards.home.title",
"cards.home.available",
"cards.home.next",
"cards.home.full",
"cards.home.rarestEyebrow",
"cards.home.rarestTitle",
"cards.home.noPull",
"cards.home.browsePacks",
"cards.home.resume",
"cards.home.resumeAction",
"cards.home.cardsDiscovered",
"cards.home.editionsDiscovered",
"cards.home.ownedCopies",
"cards.home.packsOpened",
"cards.navigation.home",
"cards.navigation.packs",
"cards.navigation.collection",
"cards.navigation.shop",
"cards.navigation.transfers",
"cards.navigation.history",
"cards.transfers.eyebrow",
"cards.transfers.title",
"cards.transfers.newGift",
"cards.transfers.newTrade",
"cards.transfers.inboxTitle",
"cards.transfers.sentTitle",
"cards.transfers.finishedTitle",
"cards.transfers.empty",
"cards.transfers.giftFrom",
"cards.transfers.giftTo",
"cards.transfers.tradeWith",
"cards.transfers.expires",
"cards.transfers.youGive",
"cards.transfers.youReceive",
"cards.transfers.accept",
"cards.transfers.decline",
"cards.transfers.cancel",
"cards.transfers.close",
"cards.transfers.statusCompleted",
"cards.transfers.statusCancelled",
"cards.transfers.statusDeclined",
"cards.transfers.statusExpired",
"cards.transfers.acceptedNotice",
"cards.transfers.declinedNotice",
"cards.transfers.cancelledNotice",
"cards.transfers.typeLabel",
"cards.transfers.typeTrade",
"cards.transfers.typeGift",
"cards.transfers.playerLabel",
"cards.transfers.playerPlaceholder",
"cards.transfers.playerLoading",
"cards.transfers.noPlayers",
"cards.transfers.duplicatesShort",
"cards.transfers.noDuplicates",
"cards.transfers.playerNoDuplicates",
"cards.transfers.choosePlayerFirst",
"cards.transfers.missingBadge",
"cards.transfers.giftHelp",
"cards.transfers.tradeHelp",
"cards.transfers.sameCard",
"cards.transfers.giveAction",
"cards.transfers.toPlayer",
"cards.transfers.sendTrade",
"cards.transfers.giftSentNotice",
"cards.transfers.tradeSentNotice",
"cards.collection.eyebrow",
"cards.collection.title",
"cards.collection.resetFilters",
"cards.history.pendingCards",
"cards.recycling.barLabel",
"cards.recycling.viewDuplicates",
"cards.recycling.viewAll",
"cards.recycling.allButton",
"cards.recycling.ratesLabel",
"cards.recycling.pending",
"cards.recycling.pendingAction",
"cards.home.stardust",
"cards.home.recyclable",
"cards.packs.eyebrow",
"cards.packs.title",
"cards.packs.permanent",
"cards.packs.permanentDescription",
"cards.packs.event",
"cards.packs.eventDescription",
"cards.packs.open",
"cards.packs.probabilities",
"cards.packs.back",
"cards.packs.shopShare",
"cards.shop.packDescription",
"cards.shop.packAction",
"cards.shop.packPending",
"cards.packs.purchasedLabel",
"cards.packs.purchasedHelp",
"cards.packs.empty",
"cards.packs.redeemTitle",
"cards.packs.redeemHelp",
"cards.packs.redeemPlaceholder",
"cards.packs.redeemButton",
"cards.packs.redeemReceived",
"cards.packs.redeemWhere",
"cards.packs.giftTitle",
"cards.packs.giftDescription",
"cards.packs.giftOpen",
"cards.packs.noOpening",
"guideChecklist.label",
"guideChecklist.selectLabel",
"guideChecklist.selectPlaceholder",