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

File diff suppressed because it is too large Load diff

View file

@ -7,18 +7,20 @@
"home": "Accueil",
"toolboxes": "Toolboxes",
"games": "Jeux",
"cards": "Sokko TCG",
"library": "Librairie",
"about": "C'est quoi Sokko G ?"
},
"sidebar": {
"badge": "Local only",
"note": "Données stockées dans ce navigateur."
"badge": "Local first",
"note": "Les toolboxes restent locales. Sokko TCG utilise un compte sécurisé."
},
"topbar": {
"dashboard": "Dashboard",
"toolbox": "Toolboxes",
"library": "Librairie",
"games": "Informations jeu",
"cards": "Sokko TCG",
"gameViewLabel": "Vue de la page jeu",
"guideView": "Guide",
"toolboxView": "Toolbox"
@ -33,6 +35,151 @@
"emptyText": "Ajoutez des entrées dans /data/games.json.",
"retryLabel": "Réessayer"
},
"cards": {
"eyebrow": "Trading Card Game",
"title": "Sokko TCG",
"description": "Ouvrez des paquets, complétez vos collections et échangez vos cartes avec d’autres explorateurs.",
"loadingTitle": "Chargement de Sokko TCG",
"loadingText": "Connexion au registre de collection…",
"disabledTitle": "Sokko TCG est fermé",
"disabled": "Le mini-jeu n’est pas activé sur ce serveur.",
"errorTitle": "Collection indisponible",
"loginDescription": "Connectez votre compte Discord pour retrouver votre collection, sécuriser vos cartes et participer aux échanges.",
"discordLogin": "Se connecter avec Discord",
"discordUnavailable": "La connexion Discord n’est pas encore disponible sur ce serveur.",
"discordErrors": {
"denied": "Connexion annulée : vous n’avez pas autorisé l’accès depuis Discord.",
"expired": "Cette tentative de connexion a expiré. Veuillez réessayer.",
"failed": "Discord n’a pas pu finaliser la connexion. Veuillez réessayer dans quelques instants."
},
"devLogin": "Version développement",
"navigation": {
"home": "Accueil",
"packs": "Paquets",
"collection": "Collection",
"shop": "Boutique",
"transfers": "Échanges et dons",
"history": "Historique"
},
"shop": {
"packDescription": "Les cartes de toutes les collections actives et les légendaires et mythiques exclusives de cette collection.",
"packAction": "Acheter et ouvrir",
"packPending": "Terminez d’abord l’ouverture en cours."
},
"transfers": {
"eyebrow": "Entre joueurs",
"title": "Échanges et dons",
"newGift": "Faire un don",
"newTrade": "Proposer un échange",
"inboxTitle": "À traiter",
"sentTitle": "Envoyées",
"finishedTitle": "Terminées",
"empty": "Aucune proposition en cours. Donnez un doublon ou proposez un échange à un autre joueur.",
"giftFrom": "Don de",
"giftTo": "Don à",
"tradeWith": "Échange avec",
"expires": "Expire",
"youGive": "Vous donnez",
"youReceive": "Vous recevez",
"accept": "Accepter",
"decline": "Refuser",
"cancel": "Annuler",
"close": "Fermer",
"statusCompleted": "Terminé",
"statusCancelled": "Annulé",
"statusDeclined": "Refusé",
"statusExpired": "Expiré",
"acceptedNotice": "Échange terminé : les cartes sont dans vos collections.",
"declinedNotice": "Proposition refusée.",
"cancelledNotice": "Proposition annulée : votre doublon est de nouveau disponible.",
"typeLabel": "Type de proposition",
"typeTrade": "Échange",
"typeGift": "Don",
"playerLabel": "Joueur",
"playerPlaceholder": "Choisir un joueur",
"playerLoading": "Chargement des joueurs…",
"noPlayers": "Aucun autre joueur pour l’instant.",
"duplicatesShort": "doublons",
"noDuplicates": "Vous n’avez aucun doublon disponible.",
"playerNoDuplicates": "Ce joueur n’a aucun doublon disponible.",
"choosePlayerFirst": "Choisissez d’abord un joueur.",
"missingBadge": "Vous ne l’avez pas",
"giftHelp": "Le don est immédiat et définitif. Vous gardez toujours un exemplaire de chaque carte.",
"tradeHelp": "Votre doublon reste réservé 7 jours, jusqu’à la réponse du joueur. Vous pouvez annuler à tout moment.",
"sameCard": "Choisissez deux cartes différentes.",
"giveAction": "Donner",
"toPlayer": "à",
"sendTrade": "Envoyer la proposition",
"giftSentNotice": "a été donnée à",
"tradeSentNotice": "Proposition envoyée à"
},
"collection": {
"eyebrow": "Mes cartes",
"title": "Ma collection",
"resetFilters": "Réinitialiser les filtres"
},
"history": {
"pendingCards": "Cartes à révéler"
},
"recycling": {
"barLabel": "Recyclage des doublons",
"viewDuplicates": "Voir les doublons",
"viewAll": "Voir toutes les cartes",
"allButton": "Tout recycler",
"ratesLabel": "Poussière gagnée par doublon",
"pending": "Terminez d’abord l’ouverture en cours pour recycler vos doublons.",
"pendingAction": "Reprendre l’ouverture"
},
"admin": {
"backToGame": "Retour au jeu",
"restrictedTitle": "Administration inaccessible",
"restrictedText": "Cette page est réservée aux administrateurs de Sokko TCG."
},
"home": {
"eyebrow": "Tableau de bord",
"title": "Vue d’ensemble",
"available": "Ouvertures disponibles",
"next": "Prochaine ouverture",
"full": "Réserve pleine",
"rarestEyebrow": "Meilleur tirage",
"rarestTitle": "Carte la plus rare tirée",
"noPull": "Aucune carte tirée pour le moment.",
"browsePacks": "Voir les paquets",
"resume": "Une ouverture attribuée attend encore d’être révélée.",
"resumeAction": "Reprendre l’ouverture",
"cardsDiscovered": "Cartes découvertes",
"editionsDiscovered": "Éditions découvertes",
"ownedCopies": "Exemplaires possédés",
"packsOpened": "Paquets ouverts",
"stardust": "Poussière d’étoiles",
"recyclable": "Doublons à recycler"
},
"packs": {
"eyebrow": "Sélection de paquets",
"title": "Choisissez une collection",
"permanent": "Paquets permanents",
"permanentDescription": "Disponibles sans limite de durée.",
"event": "Paquets événements",
"eventDescription": "Collections disponibles pendant une période limitée.",
"open": "Ouvrir ce paquet",
"probabilities": "Probabilités",
"back": "Retour",
"shopShare": "des légendaires et mythiques tirées viennent de",
"purchasedLabel": "Ouvertures achetées",
"purchasedHelp": "Utilisées automatiquement quand votre réserve est vide.",
"empty": "Aucun paquet disponible dans cette catégorie.",
"noOpening": "La prochaine ouverture sera disponible automatiquement.",
"redeemTitle": "Utiliser un code",
"redeemHelp": "Un code reçu lors d’un événement ou d’une annonce vous offre une carte ou un paquet.",
"redeemPlaceholder": "Ex. NEBULA-2026",
"redeemButton": "Utiliser le code",
"redeemReceived": "Code utilisé, vous recevez :",
"redeemWhere": "Les cartes sont dans votre collection, les paquets dans « Paquets offerts ».",
"giftTitle": "Paquets offerts",
"giftDescription": "Ils s’ouvrent quand vous le souhaitez, sans utiliser vos ouvertures disponibles.",
"giftOpen": "Ouvrir"
}
},
"library": {
"eyebrow": "Catalogue des outils",
"title": "Librairie",

View file

@ -0,0 +1,3 @@
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M5 12.5L10 17.5L19 7" stroke="#000000" stroke-width="2.4" stroke-linecap="round" stroke-linejoin="round"/>
</svg>

After

Width:  |  Height:  |  Size: 219 B

View file

@ -0,0 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Uploaded to: SVG Repo, www.svgrepo.com, Generator: SVG Repo Mixer Tools -->
<svg width="800px" height="800px" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M18.59 5.88997C17.36 5.31997 16.05 4.89997 14.67 4.65997C14.5 4.95997 14.3 5.36997 14.17 5.69997C12.71 5.47997 11.26 5.47997 9.83001 5.69997C9.69001 5.36997 9.49001 4.95997 9.32001 4.65997C7.94001 4.89997 6.63001 5.31997 5.40001 5.88997C2.92001 9.62997 2.25001 13.28 2.58001 16.87C4.23001 18.1 5.82001 18.84 7.39001 19.33C7.78001 18.8 8.12001 18.23 8.42001 17.64C7.85001 17.43 7.31001 17.16 6.80001 16.85C6.94001 16.75 7.07001 16.64 7.20001 16.54C10.33 18 13.72 18 16.81 16.54C16.94 16.65 17.07 16.75 17.21 16.85C16.7 17.16 16.15 17.42 15.59 17.64C15.89 18.23 16.23 18.8 16.62 19.33C18.19 18.84 19.79 18.1 21.43 16.87C21.82 12.7 20.76 9.08997 18.61 5.88997H18.59ZM8.84001 14.67C7.90001 14.67 7.13001 13.8 7.13001 12.73C7.13001 11.66 7.88001 10.79 8.84001 10.79C9.80001 10.79 10.56 11.66 10.55 12.73C10.55 13.79 9.80001 14.67 8.84001 14.67ZM15.15 14.67C14.21 14.67 13.44 13.8 13.44 12.73C13.44 11.66 14.19 10.79 15.15 10.79C16.11 10.79 16.87 11.66 16.86 12.73C16.86 13.79 16.11 14.67 15.15 14.67Z" fill="#000000"/>
</svg>

After

Width:  |  Height:  |  Size: 1.2 KiB

View file

@ -0,0 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Source : SVG Repo, adapté au masque de navigation Sokko TCG. -->
<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
<path d="M20.466 1.967 14.78.221a5.011 5.011 0 0 0-6.224 3.24L8.368 4H5a5.006 5.006 0 0 0-5 5v10a5.006 5.006 0 0 0 5 5h6a4.975 4.975 0 0 0 3.92-1.934 5.029 5.029 0 0 0 .689.052 4.976 4.976 0 0 0 4.775-3.563l3.416-10.4a5.021 5.021 0 0 0-3.334-6.188ZM11 22H5a3 3 0 0 1-3-3V9a3 3 0 0 1 3-3h6a3 3 0 0 1 3 3v10a3 3 0 0 1-3 3Zm10.887-14.437-3.412 10.4a2.992 2.992 0 0 1-2.6 2.134A4.992 4.992 0 0 0 16 19V9a5.006 5.006 0 0 0-5-5h-.507a3 3 0 0 1 3.7-1.867l5.686 1.746a3.006 3.006 0 0 1 2.008 3.684ZM12 13c0 1.45-1.544 3.391-2.714 4.378a1.991 1.991 0 0 1-2.572 0C5.544 16.391 4 14.45 4 13a2 2 0 0 1 4 0 2 2 0 0 1 4 0Z"/>
</svg>

After

Width:  |  Height:  |  Size: 792 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 81 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 29 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 39 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 41 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 51 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 138 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 143 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 172 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 401 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 94 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 127 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 101 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 94 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 81 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 64 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 45 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 106 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 60 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 72 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 53 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 61 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 80 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 71 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 114 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 68 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 62 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 94 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 65 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 83 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 53 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 66 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 105 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 62 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 54 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 64 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 87 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 79 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 86 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 55 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 57 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 46 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 42 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 63 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 62 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 74 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 122 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 139 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 79 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 129 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 128 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 118 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 91 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 90 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 86 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 144 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 119 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 66 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 134 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 101 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 87 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 96 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 120 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 130 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 147 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 146 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 398 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 154 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 458 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 161 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 412 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 240 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 631 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 166 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 439 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 141 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 375 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 68 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 62 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 113 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 90 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 114 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 78 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 85 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 105 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 87 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 105 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 103 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 80 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 79 KiB

Some files were not shown because too many files have changed in this diff Show more