@jjlmoya/utils-tabletop 1.27.0 → 1.29.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/category/index.ts +2 -0
- package/src/entries.ts +2 -0
- package/src/tests/locale_completeness.test.ts +1 -1
- package/src/tests/tool_validation.test.ts +1 -1
- package/src/tool/mus-scoreboard/bibliography.astro +16 -0
- package/src/tool/mus-scoreboard/bibliography.ts +12 -0
- package/src/tool/mus-scoreboard/component.astro +179 -0
- package/src/tool/mus-scoreboard/controller.ts +178 -0
- package/src/tool/mus-scoreboard/dom-views.ts +87 -0
- package/src/tool/mus-scoreboard/entry.ts +27 -0
- package/src/tool/mus-scoreboard/evaluator.ts +27 -0
- package/src/tool/mus-scoreboard/i18n/de.ts +187 -0
- package/src/tool/mus-scoreboard/i18n/en.ts +187 -0
- package/src/tool/mus-scoreboard/i18n/es.ts +187 -0
- package/src/tool/mus-scoreboard/i18n/fr.ts +187 -0
- package/src/tool/mus-scoreboard/i18n/id.ts +187 -0
- package/src/tool/mus-scoreboard/i18n/it.ts +187 -0
- package/src/tool/mus-scoreboard/i18n/ja.ts +187 -0
- package/src/tool/mus-scoreboard/i18n/ko.ts +187 -0
- package/src/tool/mus-scoreboard/i18n/nl.ts +187 -0
- package/src/tool/mus-scoreboard/i18n/pl.ts +187 -0
- package/src/tool/mus-scoreboard/i18n/pt.ts +187 -0
- package/src/tool/mus-scoreboard/i18n/ru.ts +187 -0
- package/src/tool/mus-scoreboard/i18n/sv.ts +187 -0
- package/src/tool/mus-scoreboard/i18n/tr.ts +187 -0
- package/src/tool/mus-scoreboard/i18n/zh.ts +187 -0
- package/src/tool/mus-scoreboard/index.ts +11 -0
- package/src/tool/mus-scoreboard/logic.test.ts +82 -0
- package/src/tool/mus-scoreboard/logic.ts +122 -0
- package/src/tool/mus-scoreboard/online-mus-scoreboard.css +740 -0
- package/src/tool/mus-scoreboard/seo.astro +16 -0
- package/src/tool/mus-scoreboard/storage.ts +29 -0
- package/src/tool/mus-scoreboard/ui.ts +63 -0
- package/src/tools.ts +2 -0
|
@@ -0,0 +1,187 @@
|
|
|
1
|
+
import type { FAQPage, HowTo, SoftwareApplication, WithContext } from 'schema-dts';
|
|
2
|
+
import { bibliography } from '../bibliography';
|
|
3
|
+
import type { MusScoreboardLocaleContent, MusScoreboardUI } from '../entry';
|
|
4
|
+
|
|
5
|
+
const ui: MusScoreboardUI = {
|
|
6
|
+
onboarding: 'Nommez les deux équipes, choisissez les règles de la table et appuyez sur les pierres lors du comptage de chaque main.',
|
|
7
|
+
pairOneLabel: 'Équipe un',
|
|
8
|
+
pairTwoLabel: 'Équipe deux',
|
|
9
|
+
pairOneDefault: 'Table Nord',
|
|
10
|
+
pairTwoDefault: 'Table Sud',
|
|
11
|
+
targetPointsLabel: 'Points par jeu',
|
|
12
|
+
targetPointsHint: 'Choisissez la limite de points pour chaque jeu (30, 40 ou 50).',
|
|
13
|
+
gamesToWinLabel: 'Jeux pour gagner la vaca',
|
|
14
|
+
gamesToWinHint: 'La première équipe à atteindre ce nombre remporte la partie.',
|
|
15
|
+
deckLabel: 'Jeu de cartes',
|
|
16
|
+
deckHint: 'Le jeu espagnol (Baraja española) de 40 cartes est le choix traditionnel. Si vous utilisez un jeu français, retirez les 8, 9 et 10.',
|
|
17
|
+
spanishDeck: 'Baraja española (Jeu espagnol)',
|
|
18
|
+
frenchDeck: 'Jeu français',
|
|
19
|
+
frenchDeckNotice: 'N\'oubliez pas de retirer les 8, 9 et 10 du jeu français pour jouer avec 40 cartes. Les Valets correspondent aux Sotas, les Dames aux Caballos et les Rois aux Reyes.',
|
|
20
|
+
pointsOption30: '30 points',
|
|
21
|
+
pointsOption40: '40 points',
|
|
22
|
+
pointsOption50: '50 points',
|
|
23
|
+
gamesOption1: '1 jeu',
|
|
24
|
+
gamesOption2: '2 jeux',
|
|
25
|
+
gamesOption3: '3 jeux',
|
|
26
|
+
startMatch: 'Ouvrir le marqueur',
|
|
27
|
+
matchSettings: 'Configurer équipes et règles',
|
|
28
|
+
liveMatch: 'Partie en cours',
|
|
29
|
+
targetLabel: 'points par jeu',
|
|
30
|
+
gameLabel: 'jeu',
|
|
31
|
+
gamePlural: 'jeux',
|
|
32
|
+
vacaLabel: 'jeux pour la victoire',
|
|
33
|
+
scoreLabel: 'Pierres actuelles',
|
|
34
|
+
handLabel: 'Choisissez l\'équipe qui a la main (Mano)',
|
|
35
|
+
handSelected: 'a la main (Mano).',
|
|
36
|
+
stonesLabel: 'Marqueurs',
|
|
37
|
+
stoneSingular: 'pierre (piedra)',
|
|
38
|
+
stonePlural: 'pierres (piedras)',
|
|
39
|
+
amarracoSingular: 'amarraco',
|
|
40
|
+
amarracoPlural: 'amarracos',
|
|
41
|
+
pointsToGo: 'pour gagner',
|
|
42
|
+
addStone: 'pierre',
|
|
43
|
+
addAmarraco: 'amarraco',
|
|
44
|
+
closeGame: 'Fermer le jeu',
|
|
45
|
+
closeGamePrompt: 'Confirmer que cette équipe a gagné la manche et démarrer la suivante ?',
|
|
46
|
+
confirmationTitle: 'Confirmer l\'action',
|
|
47
|
+
confirmAction: 'Confirmer',
|
|
48
|
+
cancelAction: 'Continuer à jouer',
|
|
49
|
+
undo: 'Annuler',
|
|
50
|
+
resetMatch: 'Réinitialiser la partie',
|
|
51
|
+
resetMatchPrompt: 'Réinitialiser la partie actuelle et effacer l\'historique des scores ?',
|
|
52
|
+
historyTitle: 'Dernières annonces',
|
|
53
|
+
noHistory: 'Aucune annonce pour l\'instant.',
|
|
54
|
+
matchReady: 'La table est prête.',
|
|
55
|
+
closeGameHint: 'Une équipe a atteint la limite de points. Confirmez le vainqueur du jeu.',
|
|
56
|
+
waitingForScore: 'Continuez le comptage. Points restants pour l\'équipe en tête :',
|
|
57
|
+
gameWon: 'Jeu terminé.',
|
|
58
|
+
vacaWon: 'Vaca remportée. Lancez une nouvelle partie lorsque la table est prête.',
|
|
59
|
+
gameClosed: 'a fermé le jeu.',
|
|
60
|
+
pointsAdded: 'a marqué',
|
|
61
|
+
matchSaved: 'Score sauvegardé sur cet appareil.',
|
|
62
|
+
lastAction: 'Dernière action',
|
|
63
|
+
settingsApplied: 'Nouvelles règles appliquées. La partie est réinitialisée.',
|
|
64
|
+
pairNameRequired: 'Donnez un nom aux deux équipes avant d\'ouvrir le marqueur.',
|
|
65
|
+
visualScoreLabel: 'Marqueur de points de Mus avec pierres, amarracos, jeux et limite',
|
|
66
|
+
};
|
|
67
|
+
|
|
68
|
+
const faq = [
|
|
69
|
+
{
|
|
70
|
+
question: 'Que permet de suivre ce marqueur de Mus en ligne ?',
|
|
71
|
+
answer: 'Il permet de suivre les deux équipes, les pierres (unités), les amarracos (blocs de 5), les jeux gagnés (chicos), la vaca et la possession de la main (Mano).',
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
question: 'Pourquoi les pierres et amarracos sont-ils séparés ?',
|
|
75
|
+
answer: 'Une pierre représente 1 point et un amarraco équivaut à 5 pierres. Les afficher séparément permet un contrôle visuel direct avec les jetons physiques sur la table.',
|
|
76
|
+
},
|
|
77
|
+
{
|
|
78
|
+
question: 'Peut-on jouer à 30, 40 ou 50 points ?',
|
|
79
|
+
answer: 'Oui. Sélectionnez 30, 40 ou 50 points par jeu avant de lancer le marqueur.',
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
question: 'Comment valider la fin d\'un jeu ?',
|
|
83
|
+
answer: 'Dès qu\'une équipe atteint la limite fixée, le bouton de fermeture s\'active. Une fois confirmé, un jeu est attribué et les pierres reviennent à zéro.',
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
question: 'Les données de jeu sont-elles conservées ?',
|
|
87
|
+
answer: 'Oui, le score et les paramètres sont sauvegardés localement dans votre navigateur.',
|
|
88
|
+
},
|
|
89
|
+
{
|
|
90
|
+
question: 'Ce marqueur impose-t-il les règles régionales du Mus ?',
|
|
91
|
+
answer: 'Non. Le Mus comporte de nombreuses variantes régionales. Ce marqueur digital gère avec précision les points et les manches convenus entre les joueurs.',
|
|
92
|
+
},
|
|
93
|
+
{
|
|
94
|
+
question: 'Jeu espagnol ou jeu français ?',
|
|
95
|
+
answer: 'Le Mus se joue traditionnellement avec un jeu espagnol de 40 cartes. Avec un jeu français, retirez les 8, 9 et 10. Les Valets sont les Sotas, les Dames les Caballos et les Rois les Reyes.',
|
|
96
|
+
},
|
|
97
|
+
];
|
|
98
|
+
|
|
99
|
+
const howTo = [
|
|
100
|
+
{
|
|
101
|
+
name: 'Nommer les équipes',
|
|
102
|
+
text: 'Saisissez le nom des deux équipes pour les identifier facilement autour de la table.',
|
|
103
|
+
},
|
|
104
|
+
{
|
|
105
|
+
name: 'Régler la limite et la vaca',
|
|
106
|
+
text: 'Choisissez 30, 40 ou 50 points par jeu ainsi que le nombre de jeux requis pour gagner la vaca.',
|
|
107
|
+
},
|
|
108
|
+
{
|
|
109
|
+
name: 'Compter les points et amarracos',
|
|
110
|
+
text: 'Ajoutez une pierre (+1) ou un amarraco (+5) au fur et à mesure que les phases de jeu sont décomptées.',
|
|
111
|
+
},
|
|
112
|
+
{
|
|
113
|
+
name: 'Valider la victoire de la manche',
|
|
114
|
+
text: 'Lorsque le score est atteint, confirmez le vainqueur pour enregistrer le jeu et réinitialiser les pierres.',
|
|
115
|
+
},
|
|
116
|
+
];
|
|
117
|
+
|
|
118
|
+
const faqSchema: WithContext<FAQPage> = {
|
|
119
|
+
'@context': 'https://schema.org',
|
|
120
|
+
'@type': 'FAQPage',
|
|
121
|
+
mainEntity: faq.map((item) => ({
|
|
122
|
+
'@type': 'Question',
|
|
123
|
+
name: item.question,
|
|
124
|
+
acceptedAnswer: { '@type': 'Answer', text: item.answer },
|
|
125
|
+
})),
|
|
126
|
+
};
|
|
127
|
+
|
|
128
|
+
const appSchema: WithContext<SoftwareApplication> = {
|
|
129
|
+
'@context': 'https://schema.org',
|
|
130
|
+
'@type': 'SoftwareApplication',
|
|
131
|
+
name: 'Marqueur de Points Mus en Ligne',
|
|
132
|
+
operatingSystem: 'All',
|
|
133
|
+
applicationCategory: 'GameApplication',
|
|
134
|
+
description: 'Compteur de points digital pour vos parties en direct du jeu espagnol Mus.',
|
|
135
|
+
};
|
|
136
|
+
|
|
137
|
+
const howToSchema: WithContext<HowTo> = {
|
|
138
|
+
'@context': 'https://schema.org',
|
|
139
|
+
'@type': 'HowTo',
|
|
140
|
+
name: 'Comment marquer les points dans une partie de Mus',
|
|
141
|
+
step: howTo.map((item) => ({
|
|
142
|
+
'@type': 'HowToStep',
|
|
143
|
+
name: item.name,
|
|
144
|
+
text: item.text,
|
|
145
|
+
})),
|
|
146
|
+
};
|
|
147
|
+
|
|
148
|
+
const schemas: WithContext<SoftwareApplication | FAQPage | HowTo>[] = [
|
|
149
|
+
faqSchema,
|
|
150
|
+
appSchema,
|
|
151
|
+
howToSchema,
|
|
152
|
+
];
|
|
153
|
+
|
|
154
|
+
export const content: MusScoreboardLocaleContent = {
|
|
155
|
+
slug: 'marqueur-de-points-mus-en-ligne',
|
|
156
|
+
title: 'Marqueur de Points Mus en Ligne pour vos Parties',
|
|
157
|
+
description: 'Suivez pierres, amarracos et vacas lors de vos parties du jeu traditionnel espagnol Mus. Pour jeux espagnols ou français.',
|
|
158
|
+
ui,
|
|
159
|
+
seo: [
|
|
160
|
+
{ type: 'title', text: 'Un Marquage Clair et Précis pour vos Parties de Mus', level: 2 },
|
|
161
|
+
{ type: 'paragraph', html: 'Le Mus est un jeu traditionnel espagnol réputé pour sa convivialité et son sens du bluff. Comme les points sont décomptés à chaque phase (Grande, Chica, Pares, Juego, Punto), disposer d\'un compteur digital clair évite tout litige autour du tapis.' },
|
|
162
|
+
{ type: 'title', text: 'Définissez la Limite de Points avant la Première Main', level: 2 },
|
|
163
|
+
{ type: 'paragraph', html: 'Bien que la règle classique prévoie 40 points, certaines tables préfèrent jouer à 30 ou 50 points. Ajustez le réglage avant de distribuer pour adapter le marqueur aux règles de votre table.' },
|
|
164
|
+
{
|
|
165
|
+
type: 'table',
|
|
166
|
+
headers: ['Option', 'Effet', 'Recommandation'],
|
|
167
|
+
rows: [
|
|
168
|
+
['30 points', 'Partie courte', 'Idéal pour des parties rapides ou tournois exprès'],
|
|
169
|
+
['40 points', 'Partie standard', 'La règle classique entre amis'],
|
|
170
|
+
['50 points', 'Partie longue', 'Pour privilégier la stratégie sur la durée'],
|
|
171
|
+
],
|
|
172
|
+
},
|
|
173
|
+
{ type: 'tip', title: 'Validez les Règles à Voix Haute', html: 'Mettez-vous d\'accord avec vos adversaires sur la valeur des 3 (Rois) et 2 (As), ainsi que sur la gestion des jetons physiques.' },
|
|
174
|
+
{ type: 'title', text: 'Adaptation entre Jeu Espagnol et Jeu Français', level: 2 },
|
|
175
|
+
{ type: 'paragraph', html: 'Le jeu espagnol traditionnel de 40 cartes (Oros, Copas, Espadas, Bastos) constitue la référence. Si vous jouez avec des cartes françaises, retirez les 8, 9 et 10. Valets = Sotas, Dames = Caballos, Rois = Reyes.' },
|
|
176
|
+
{ type: 'title', text: 'Lecture du Score Numérique au Bord du Tapis', level: 2 },
|
|
177
|
+
{ type: 'paragraph', html: 'Le grand affichage indique le score total. La ligne en dessous convertit automatiquement ce total en amarracos et pierres pour un contrôle instantané.' },
|
|
178
|
+
{ type: 'list', items: ['<strong>Pierre (Piedra) :</strong> 1 point individuel.', '<strong>Amarraco :</strong> 1 jeton équivalant à 5 pierres.', '<strong>Jeu (Chico) :</strong> Manche remportée en atteignant le score cible.', '<strong>Vaca :</strong> Victoire finale obtenue en gagnant le nombre requis de jeux.'] },
|
|
179
|
+
{ type: 'title', text: 'Validation du Jeu et Correction d\'Erreurs', level: 2 },
|
|
180
|
+
{ type: 'paragraph', html: 'Dès le score cible atteint, validez la manche pour enregistrer le jeu et remettre le compteur à zéro. La fonction Annuler permet de corriger instantanément une erreur de frappe.' },
|
|
181
|
+
{ type: 'tip', title: 'Fonction Annuler en Cas d\'Erreur', html: 'Si des points ont été attribués par inadvertance à la mauvaise équipe, utilisez immédiatement la touche Annuler pour rectifier le score.' },
|
|
182
|
+
],
|
|
183
|
+
faq,
|
|
184
|
+
bibliography,
|
|
185
|
+
howTo,
|
|
186
|
+
schemas,
|
|
187
|
+
};
|
|
@@ -0,0 +1,187 @@
|
|
|
1
|
+
import type { FAQPage, HowTo, SoftwareApplication, WithContext } from 'schema-dts';
|
|
2
|
+
import { bibliography } from '../bibliography';
|
|
3
|
+
import type { MusScoreboardLocaleContent, MusScoreboardUI } from '../entry';
|
|
4
|
+
|
|
5
|
+
const ui: MusScoreboardUI = {
|
|
6
|
+
onboarding: 'Beri nama kedua pasangan pemain, atur aturan meja, lalu ketuk batu saat setiap putaran dihitung.',
|
|
7
|
+
pairOneLabel: 'Pasangan satu',
|
|
8
|
+
pairTwoLabel: 'Pasangan dua',
|
|
9
|
+
pairOneDefault: 'Meja Utara',
|
|
10
|
+
pairTwoDefault: 'Meja Selatan',
|
|
11
|
+
targetPointsLabel: 'Target poin per permainan',
|
|
12
|
+
targetPointsHint: 'Pilih batas poin untuk setiap permainan (30, 40, atau 50 poin).',
|
|
13
|
+
gamesToWinLabel: 'Permainan untuk memenangkan vaca',
|
|
14
|
+
gamesToWinHint: 'Pasangan pertama yang mencapai jumlah ini memenangkan seluruh pertandingan.',
|
|
15
|
+
deckLabel: 'Dek kartu meja',
|
|
16
|
+
deckHint: 'Dek kartu Spanyol (Baraja española) adalah pilihan tradisional. Jika menggunakan dek Prancis, buang kartu 8, 9, dan 10.',
|
|
17
|
+
spanishDeck: 'Baraja española (Dek Spanyol)',
|
|
18
|
+
frenchDeck: 'Dek Prancis',
|
|
19
|
+
frenchDeckNotice: 'Jangan lupa membuang kartu 8, 9, dan 10 dari dek Prancis agar bermain dengan 40 kartu. Jack adalah Sota, Queen adalah Caballo, dan King adalah Rey.',
|
|
20
|
+
pointsOption30: '30 poin',
|
|
21
|
+
pointsOption40: '40 poin',
|
|
22
|
+
pointsOption50: '50 poin',
|
|
23
|
+
gamesOption1: '1 permainan',
|
|
24
|
+
gamesOption2: '2 permainan',
|
|
25
|
+
gamesOption3: '3 permainan',
|
|
26
|
+
startMatch: 'Buka papan skor',
|
|
27
|
+
matchSettings: 'Atur pasangan dan aturan',
|
|
28
|
+
liveMatch: 'Pertandingan berlangsung',
|
|
29
|
+
targetLabel: 'poin per permainan',
|
|
30
|
+
gameLabel: 'permainan',
|
|
31
|
+
gamePlural: 'permainan',
|
|
32
|
+
vacaLabel: 'permainan untuk menang',
|
|
33
|
+
scoreLabel: 'Batu saat ini',
|
|
34
|
+
handLabel: 'Pilih pasangan mana yang memegang hand (Mano)',
|
|
35
|
+
handSelected: 'memegang hand (Mano).',
|
|
36
|
+
stonesLabel: 'Pencatat poin',
|
|
37
|
+
stoneSingular: 'batu (piedra)',
|
|
38
|
+
stonePlural: 'batu (piedras)',
|
|
39
|
+
amarracoSingular: 'amarraco',
|
|
40
|
+
amarracoPlural: 'amarracos',
|
|
41
|
+
pointsToGo: 'poin menuju target',
|
|
42
|
+
addStone: 'batu',
|
|
43
|
+
addAmarraco: 'amarraco',
|
|
44
|
+
closeGame: 'Tutup permainan',
|
|
45
|
+
closeGamePrompt: 'Konfirmasi bahwa pasangan ini memenangkan permainan dan mulai permainan berikutnya?',
|
|
46
|
+
confirmationTitle: 'Konfirmasi tindakan meja',
|
|
47
|
+
confirmAction: 'Konfirmasi',
|
|
48
|
+
cancelAction: 'Lanjutkan bermain',
|
|
49
|
+
undo: 'Batal',
|
|
50
|
+
resetMatch: 'Reset pertandingan',
|
|
51
|
+
resetMatchPrompt: 'Reset pertandingan saat ini dan hapus riwayat skor?',
|
|
52
|
+
historyTitle: 'Catatan poin terbaru',
|
|
53
|
+
noHistory: 'Belum ada catatan poin.',
|
|
54
|
+
matchReady: 'Meja siap dimainkan.',
|
|
55
|
+
closeGameHint: 'Pasangan telah mencapai target poin. Konfirmasi pemenang permainan.',
|
|
56
|
+
waitingForScore: 'Lanjutkan perhitungan. Sisa poin untuk pemimpin:',
|
|
57
|
+
gameWon: 'Permainan selesai.',
|
|
58
|
+
vacaWon: 'Vaca dimenangkan! Mulai pertandingan baru saat meja siap.',
|
|
59
|
+
gameClosed: 'menutup permainan.',
|
|
60
|
+
pointsAdded: 'mendapatkan',
|
|
61
|
+
matchSaved: 'Skor disimpan di perangkat ini.',
|
|
62
|
+
lastAction: 'Tindakan terakhir',
|
|
63
|
+
settingsApplied: 'Aturan baru diterapkan. Pertandingan direset.',
|
|
64
|
+
pairNameRequired: 'Beri nama kedua pasangan sebelum membuka papan skor.',
|
|
65
|
+
visualScoreLabel: 'Papan skor digital Mus dengan batu, amarracos, dan permainan',
|
|
66
|
+
};
|
|
67
|
+
|
|
68
|
+
const faq = [
|
|
69
|
+
{
|
|
70
|
+
question: 'Apa saja yang dicatat oleh papan skor Mus online ini?',
|
|
71
|
+
answer: 'Papan skor ini mencatat dua pasangan pemain, batu (poin tunggal), amarracos (blok 5 poin), permainan yang dimenangkan (chicos), kemenangan vaca, pemegang hand (Mano), serta riwayat perolehan poin.',
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
question: 'Mengapa batu dan amarracos ditampilkan secara terpisah?',
|
|
75
|
+
answer: 'Satu batu (Piedra) bernilai 1 poin dan satu Amarraco bernilai 5 batu. Tampilan terpisah memudahkan pencocokan dengan penanda fisik seperti biji-bijian atau koin di meja permainan.',
|
|
76
|
+
},
|
|
77
|
+
{
|
|
78
|
+
question: 'Apakah bisa bermain dengan target 30, 40, atau 50 poin?',
|
|
79
|
+
answer: 'Ya. Anda dapat memilih target 30, 40, atau 50 poin per permainan sebelum membuka papan skor. Perhitungan otomatis menyesuaikan target yang dipilih.',
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
question: 'Bagaimana cara menyelesaikan permainan yang sudah mencapai target?',
|
|
83
|
+
answer: 'Saat pasangan mencapai target poin, tombol tutup permainan akan aktif. Setelah dikonfirmasi, 1 nilai permainan akan ditambahkan dan jumlah batu direset ke nol.',
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
question: 'Apakah data pertandingan akan tersimpan jika halaman disegarkan?',
|
|
87
|
+
answer: 'Ya. Pengaturan pertandingan, nama pasangan, jumlah batu, dan riwayat skor tersimpan secara lokal di peramban perangkat Anda.',
|
|
88
|
+
},
|
|
89
|
+
{
|
|
90
|
+
question: 'Apakah papan skor ini memaksakan aturan daerah tertentu?',
|
|
91
|
+
answer: 'Tidak. Permainan Mus memiliki berbagai variasi lokal. Papan skor digital ini berfokus mencatat skor secara presisi dan menyerahkan aturan Isyarat kepada para pemain.',
|
|
92
|
+
},
|
|
93
|
+
{
|
|
94
|
+
question: 'Bagaimana menyesuaikan dek kartu Prancis untuk permainan Mus?',
|
|
95
|
+
answer: 'Keluarkan kartu 8, 9, dan 10 agar dek tersisa 40 kartu. Kartu Jack berfungsi sebagai Sota, Queen sebagai Caballo, dan King sebagai Rey.',
|
|
96
|
+
},
|
|
97
|
+
];
|
|
98
|
+
|
|
99
|
+
const howTo = [
|
|
100
|
+
{
|
|
101
|
+
name: 'Masukkan nama pasangan',
|
|
102
|
+
text: 'Isi nama kedua pasangan pemain agar mudah dikenali di meja pertandingan.',
|
|
103
|
+
},
|
|
104
|
+
{
|
|
105
|
+
name: 'Atur target poin dan vaca',
|
|
106
|
+
text: 'Pilih 30, 40, atau 50 poin per permainan serta jumlah permainan yang dibutuhkan untuk memenangkan vaca.',
|
|
107
|
+
},
|
|
108
|
+
{
|
|
109
|
+
name: 'Hitung batu dan amarracos',
|
|
110
|
+
text: 'Tekan batu (+1) atau amarraco (+5) setiap kali poin dimenangkan pada ronde pertandingan.',
|
|
111
|
+
},
|
|
112
|
+
{
|
|
113
|
+
name: 'Konfirmasi pemenang permainan',
|
|
114
|
+
text: 'Saat target poin tercapai, konfirmasi pemenang untuk mencatat kemenangan permainan dan mereset batu.',
|
|
115
|
+
},
|
|
116
|
+
];
|
|
117
|
+
|
|
118
|
+
const faqSchema: WithContext<FAQPage> = {
|
|
119
|
+
'@context': 'https://schema.org',
|
|
120
|
+
'@type': 'FAQPage',
|
|
121
|
+
mainEntity: faq.map((item) => ({
|
|
122
|
+
'@type': 'Question',
|
|
123
|
+
name: item.question,
|
|
124
|
+
acceptedAnswer: { '@type': 'Answer', text: item.answer },
|
|
125
|
+
})),
|
|
126
|
+
};
|
|
127
|
+
|
|
128
|
+
const appSchema: WithContext<SoftwareApplication> = {
|
|
129
|
+
'@context': 'https://schema.org',
|
|
130
|
+
'@type': 'SoftwareApplication',
|
|
131
|
+
name: 'Papan Skor Mus Online',
|
|
132
|
+
operatingSystem: 'All',
|
|
133
|
+
applicationCategory: 'GameApplication',
|
|
134
|
+
description: 'Papan skor digital cepat untuk mencatat batu, amarracos, dan permainan dalam kartu Mus Spanyol.',
|
|
135
|
+
};
|
|
136
|
+
|
|
137
|
+
const howToSchema: WithContext<HowTo> = {
|
|
138
|
+
'@context': 'https://schema.org',
|
|
139
|
+
'@type': 'HowTo',
|
|
140
|
+
name: 'Cara mencatat skor dalam permainan kartu Mus',
|
|
141
|
+
step: howTo.map((item) => ({
|
|
142
|
+
'@type': 'HowToStep',
|
|
143
|
+
name: item.name,
|
|
144
|
+
text: item.text,
|
|
145
|
+
})),
|
|
146
|
+
};
|
|
147
|
+
|
|
148
|
+
const schemas: WithContext<SoftwareApplication | FAQPage | HowTo>[] = [
|
|
149
|
+
faqSchema,
|
|
150
|
+
appSchema,
|
|
151
|
+
howToSchema,
|
|
152
|
+
];
|
|
153
|
+
|
|
154
|
+
export const content: MusScoreboardLocaleContent = {
|
|
155
|
+
slug: 'papan-skor-mus-online',
|
|
156
|
+
title: 'Papan Skor Mus Online untuk Pertandingan Langsung',
|
|
157
|
+
description: 'Papan skor digital langsung untuk permainan kartu Spanyol Mus. Catat batu, amarracos, permainan, dan vaca dengan cepat di meja Anda.',
|
|
158
|
+
ui,
|
|
159
|
+
seo: [
|
|
160
|
+
{ type: 'title', text: 'Pencatatan Skor Mus yang Jelas dan Praktis di Meja', level: 2 },
|
|
161
|
+
{ type: 'paragraph', html: 'Mus adalah permainan kartu tradisional Spanyol yang penuh dinamika dan gertakan. Karena poin dihitung dengan cepat pada setiap babak, papan skor digital ini membantu mencegah kesalahan pencatatan di meja.' },
|
|
162
|
+
{ type: 'title', text: 'Tentukan Target Poin Sebelum Pembagian Kartu', level: 2 },
|
|
163
|
+
{ type: 'paragraph', html: 'Meskipun standar umum menggunakan 40 poin, beberapa pertandingan dimainkan dengan target 30 atau 50 poin. Atur target terlebih dahulu agar perhitungan di layar selaras dengan aturan meja Anda.' },
|
|
164
|
+
{
|
|
165
|
+
type: 'table',
|
|
166
|
+
headers: ['Pengaturan', 'Fungsi', 'Rekomendasi Penggunaan'],
|
|
167
|
+
rows: [
|
|
168
|
+
['30 poin', 'Permainan singkat', 'Pertandingan cepat atau turnamen kilat'],
|
|
169
|
+
['40 poin', 'Permainan standar', 'Format tradisional santai bersama teman'],
|
|
170
|
+
['50 poin', 'Permainan panjang', 'Pertandingan penuh strategi dan jangkauan poin lebih luas'],
|
|
171
|
+
],
|
|
172
|
+
},
|
|
173
|
+
{ type: 'tip', title: 'Sepakati Aturan Meja Secara Jelas', html: 'Sebelum mengocok kartu, pastikan seluruh pemain menyepakati aturan 8 King dan 8 Ace serta siapa yang memegang penanda fisik.' },
|
|
174
|
+
{ type: 'title', text: 'Penyesuaian Kartu Dek Spanyol dan Prancis', level: 2 },
|
|
175
|
+
{ type: 'paragraph', html: 'Dek Spanyol tradisional (40 kartu) adalah standar asli Mus. Jika menggunakan dek Prancis, buang kartu 8, 9, dan 10. Kartu Jack menjadi Sota, Queen menjadi Caballo, dan King menjadi Rey.' },
|
|
176
|
+
{ type: 'title', text: 'Pencatatan Poin Digital Langsung di Sisi Meja', level: 2 },
|
|
177
|
+
{ type: 'paragraph', html: 'Tampilan utama memperlihatkan total poin secara jelas. Baris di bawahnya otomatis mengonversi angka tersebut ke dalam bentuk amarracos dan batu tunggal untuk pemeriksaan cepat.' },
|
|
178
|
+
{ type: 'list', items: ['<strong>Batu (Piedra):</strong> 1 poin tunggal.', '<strong>Amarraco:</strong> Penanda bernilai 5 batu.', '<strong>Permainan (Chico):</strong> Putaran yang dimenangkan saat mencapai target poin.', '<strong>Vaca:</strong> Kemenangan akhir pertandingan setelah mencapai jumlah permainan yang ditentukan.'] },
|
|
179
|
+
{ type: 'title', text: 'Penutupan Permainan dan Pembatalan Kesalahan', level: 2 },
|
|
180
|
+
{ type: 'paragraph', html: 'Ketika target poin tercapai, tombol penutupan permainan aktif. Jika terjadi kesalahan saat memasukkan poin, gunakan tombol Batal untuk mengembalikan kondisi skor sebelumnya.' },
|
|
181
|
+
{ type: 'tip', title: 'Gunakan Tombol Batal Saat Salah Catat', html: 'Jika poin salah dimasukkan ke pasangan lawan, segera tekan tombol Batal untuk mengembalikan skor tanpa mengganggu jalannya pertandingan.' },
|
|
182
|
+
],
|
|
183
|
+
faq,
|
|
184
|
+
bibliography,
|
|
185
|
+
howTo,
|
|
186
|
+
schemas,
|
|
187
|
+
};
|
|
@@ -0,0 +1,187 @@
|
|
|
1
|
+
import type { FAQPage, HowTo, SoftwareApplication, WithContext } from 'schema-dts';
|
|
2
|
+
import { bibliography } from '../bibliography';
|
|
3
|
+
import type { MusScoreboardLocaleContent, MusScoreboardUI } from '../entry';
|
|
4
|
+
|
|
5
|
+
const ui: MusScoreboardUI = {
|
|
6
|
+
onboarding: 'Assegna un nome alle due coppie, imposta le regole del tavolo e tocca le pietre per registrare i punti ad ogni mano.',
|
|
7
|
+
pairOneLabel: 'Coppia uno',
|
|
8
|
+
pairTwoLabel: 'Coppia due',
|
|
9
|
+
pairOneDefault: 'Tavolo Nord',
|
|
10
|
+
pairTwoDefault: 'Tavolo Sud',
|
|
11
|
+
targetPointsLabel: 'Punti bersaglio per gioco',
|
|
12
|
+
targetPointsHint: 'Scegli la quota punti per ogni gioco (30, 40 o 50 punti).',
|
|
13
|
+
gamesToWinLabel: 'Giochi per vincere la vaca',
|
|
14
|
+
gamesToWinHint: 'La prima coppia che raggiunge questo numero vince l\'incontro.',
|
|
15
|
+
deckLabel: 'Mazzo di carte del tavolo',
|
|
16
|
+
deckHint: 'Il mazzo spagnolo (Baraja española) da 40 carte è la scelta tradizionale per il Mus. Con un mazzo francese occorre rimuovere 8, 9 e 10.',
|
|
17
|
+
spanishDeck: 'Baraja española (Mazzo spagnolo)',
|
|
18
|
+
frenchDeck: 'Mazzo francese',
|
|
19
|
+
frenchDeckNotice: 'Ricorda di rimuovere 8, 9 e 10 dal mazzo francese per giocare con 40 carte. I Fanti sono Sotas, le Donne Caballos e i Re Reyes.',
|
|
20
|
+
pointsOption30: '30 punti',
|
|
21
|
+
pointsOption40: '40 punti',
|
|
22
|
+
pointsOption50: '50 punti',
|
|
23
|
+
gamesOption1: '1 gioco',
|
|
24
|
+
gamesOption2: '2 giochi',
|
|
25
|
+
gamesOption3: '3 giochi',
|
|
26
|
+
startMatch: 'Apri il segnapunti',
|
|
27
|
+
matchSettings: 'Imposta coppie e regole',
|
|
28
|
+
liveMatch: 'Partita in corso',
|
|
29
|
+
targetLabel: 'punti per gioco',
|
|
30
|
+
gameLabel: 'gioco',
|
|
31
|
+
gamePlural: 'giochi',
|
|
32
|
+
vacaLabel: 'giochi per la vittoria',
|
|
33
|
+
scoreLabel: 'Pietre attuali',
|
|
34
|
+
handLabel: 'Scegli quale coppia è di mano (Mano)',
|
|
35
|
+
handSelected: 'è di mano (Mano).',
|
|
36
|
+
stonesLabel: 'Segnapunti',
|
|
37
|
+
stoneSingular: 'pietra (piedra)',
|
|
38
|
+
stonePlural: 'pietre (piedras)',
|
|
39
|
+
amarracoSingular: 'amarraco',
|
|
40
|
+
amarracoPlural: 'amarracos',
|
|
41
|
+
pointsToGo: 'punti mancanti',
|
|
42
|
+
addStone: 'pietra',
|
|
43
|
+
addAmarraco: 'amarraco',
|
|
44
|
+
closeGame: 'Chiudi gioco',
|
|
45
|
+
closeGamePrompt: 'Confermi che questa coppia ha vinto il gioco e vuoi iniziare il successivo?',
|
|
46
|
+
confirmationTitle: 'Conferma azione sul tavolo',
|
|
47
|
+
confirmAction: 'Conferma',
|
|
48
|
+
cancelAction: 'Continua a giocare',
|
|
49
|
+
undo: 'Annulla',
|
|
50
|
+
resetMatch: 'Ripristina partita',
|
|
51
|
+
resetMatchPrompt: 'Vuoi azzerare la partita attuale e cancellare lo storico dei punti?',
|
|
52
|
+
historyTitle: 'Ultime annotazioni',
|
|
53
|
+
noHistory: 'Nessuna annotazione al momento.',
|
|
54
|
+
matchReady: 'Il tavolo è pronto.',
|
|
55
|
+
closeGameHint: 'Una coppia ha raggiunto il punteggio bersaglio. Conferma il vincitore del gioco.',
|
|
56
|
+
waitingForScore: 'Continua a contare. Punti rimanenti per la coppia in testa:',
|
|
57
|
+
gameWon: 'Gioco concluso.',
|
|
58
|
+
vacaWon: 'Vaca vinta! Inizia una nuova partita quando il tavolo è pronto.',
|
|
59
|
+
gameClosed: 'ha chiuso il gioco.',
|
|
60
|
+
pointsAdded: 'ha ottenuto',
|
|
61
|
+
matchSaved: 'Punteggio salvato su questo dispositivo.',
|
|
62
|
+
lastAction: 'Ultima azione',
|
|
63
|
+
settingsApplied: 'Nuove regole applicate. La partita è stata azzerata.',
|
|
64
|
+
pairNameRequired: 'Inserisci un nome per entrambe le coppie prima di aprire il segnapunti.',
|
|
65
|
+
visualScoreLabel: 'Segnapunti digitale Mus con pietre, amarracos e partite',
|
|
66
|
+
};
|
|
67
|
+
|
|
68
|
+
const faq = [
|
|
69
|
+
{
|
|
70
|
+
question: 'Che cosa tiene traccia questo segnapunti Mus online?',
|
|
71
|
+
answer: 'Tiene traccia delle due coppie, delle pietre (punti singoli), degli amarracos (blocchi da 5 punti), dei giochi vinti (chicos), della vaca generale, di quale coppia è di mano (Mano) e dello storico delle chiamate.',
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
question: 'Perché le pietre e gli amarracos sono mostrati separatamente?',
|
|
75
|
+
answer: 'Una pietra (Piedra) vale 1 punto e un Amarraco equivale a 5 pietre. La visualizzazione separata consente un riscontro immediato con i fagioli o le fiches fisiche presenti sul tavolo.',
|
|
76
|
+
},
|
|
77
|
+
{
|
|
78
|
+
question: 'È possibile giocare a 30, 40 o 50 punti?',
|
|
79
|
+
answer: 'Sì. Puoi selezionare 30, 40 o 50 punti per gioco prima di aprire il segnapunti. Il conteggio e la chiusura automatica si adatteranno al bersaglio scelto.',
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
question: 'Come si chiude un gioco quando si raggiunge il punteggio?',
|
|
83
|
+
answer: 'Quando una coppia raggiunge i punti bersaglio, il pulsante di chiusura si attiva. Dopo la conferma, viene assegnato 1 gioco e il conteggio delle pietre si azzera.',
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
question: 'I dati della partita vengono salvati se ricarico la pagina?',
|
|
87
|
+
answer: 'Sì. La configurazione delle coppie, le pietre e i giochi vinti rimangono salvati localmente nel browser del tuo dispositivo.',
|
|
88
|
+
},
|
|
89
|
+
{
|
|
90
|
+
question: 'Questo segnapunti applica le regole regionali del Mus?',
|
|
91
|
+
answer: 'No. Il Mus presenta diverse varianti locali. Questo segnapunti gestisce con precisione i punti e i giochi concordati, lasciando i segnali e gli inviti al tavolo reale.',
|
|
92
|
+
},
|
|
93
|
+
{
|
|
94
|
+
question: 'Come si adatta un mazzo francese per giocare a Mus?',
|
|
95
|
+
answer: 'Rimuovi 8, 9 e 10 dal mazzo francese per mantenere 40 carte. I Fanti contano come Sotas, le Donne come Caballos e i Re come Reyes.',
|
|
96
|
+
},
|
|
97
|
+
];
|
|
98
|
+
|
|
99
|
+
const howTo = [
|
|
100
|
+
{
|
|
101
|
+
name: 'Inserisci i nomi delle coppie',
|
|
102
|
+
text: 'Digita i nomi delle due coppie di giocatori per identificarle chiaramente sul tavolo.',
|
|
103
|
+
},
|
|
104
|
+
{
|
|
105
|
+
name: 'Imposta il bersaglio e la vaca',
|
|
106
|
+
text: 'Scegli 30, 40 o 50 punti per gioco e stabilisci quanti giochi sono necessari per vincere la vaca.',
|
|
107
|
+
},
|
|
108
|
+
{
|
|
109
|
+
name: 'Conta pietre e amarracos',
|
|
110
|
+
text: 'Premi pietra (+1) o amarraco (+5) man mano che i punti vengono assegnati al termine delle mani.',
|
|
111
|
+
},
|
|
112
|
+
{
|
|
113
|
+
name: 'Conferma la vittoria del gioco',
|
|
114
|
+
text: 'Al raggiungimento del bersaglio, conferma il vincitore per registrare il gioco e azzerare le pietre.',
|
|
115
|
+
},
|
|
116
|
+
];
|
|
117
|
+
|
|
118
|
+
const faqSchema: WithContext<FAQPage> = {
|
|
119
|
+
'@context': 'https://schema.org',
|
|
120
|
+
'@type': 'FAQPage',
|
|
121
|
+
mainEntity: faq.map((item) => ({
|
|
122
|
+
'@type': 'Question',
|
|
123
|
+
name: item.question,
|
|
124
|
+
acceptedAnswer: { '@type': 'Answer', text: item.answer },
|
|
125
|
+
})),
|
|
126
|
+
};
|
|
127
|
+
|
|
128
|
+
const appSchema: WithContext<SoftwareApplication> = {
|
|
129
|
+
'@context': 'https://schema.org',
|
|
130
|
+
'@type': 'SoftwareApplication',
|
|
131
|
+
name: 'Segnapunti Mus Online',
|
|
132
|
+
operatingSystem: 'All',
|
|
133
|
+
applicationCategory: 'GameApplication',
|
|
134
|
+
description: 'Segnapunti digitale veloce per il gioco di carte tradizionale spagnolo Mus.',
|
|
135
|
+
};
|
|
136
|
+
|
|
137
|
+
const howToSchema: WithContext<HowTo> = {
|
|
138
|
+
'@context': 'https://schema.org',
|
|
139
|
+
'@type': 'HowTo',
|
|
140
|
+
name: 'Come tenere il punteggio nel gioco del Mus',
|
|
141
|
+
step: howTo.map((item) => ({
|
|
142
|
+
'@type': 'HowToStep',
|
|
143
|
+
name: item.name,
|
|
144
|
+
text: item.text,
|
|
145
|
+
})),
|
|
146
|
+
};
|
|
147
|
+
|
|
148
|
+
const schemas: WithContext<SoftwareApplication | FAQPage | HowTo>[] = [
|
|
149
|
+
faqSchema,
|
|
150
|
+
appSchema,
|
|
151
|
+
howToSchema,
|
|
152
|
+
];
|
|
153
|
+
|
|
154
|
+
export const content: MusScoreboardLocaleContent = {
|
|
155
|
+
slug: 'segnapunti-mus-online',
|
|
156
|
+
title: 'Segnapunti Mus Online per Partite dal Vivo',
|
|
157
|
+
description: 'Conta pietre, amarracos, giochi e vacas per le tue partite al gioco spagnolo Mus. Per mazzo spagnolo o francese con salvataggio locale.',
|
|
158
|
+
ui,
|
|
159
|
+
seo: [
|
|
160
|
+
{ type: 'title', text: 'Un Conteggio Chiaro e Veloce per il Tuo Tavolo di Mus', level: 2 },
|
|
161
|
+
{ type: 'paragraph', html: 'Il Mus è un famoso gioco di carte tradizionale spagnolo ricco di bluff e dinamismo. Poiché i punti vengono contati rapidamente al termine di ogni fase (Grande, Chica, Pares, Juego, Punto), questo segnapunti digitale evita discussioni al tavolo.' },
|
|
162
|
+
{ type: 'title', text: 'Imposta la Meta dei Punti Prima di Servire le Carte', level: 2 },
|
|
163
|
+
{ type: 'paragraph', html: 'Sebbene lo standard tradizionale sia a 40 punti, in molte tavolate si gioca a 30 o 50 punti. Regola la meta prima del primo invito affinché il segnapunti digitale rispecchi perfettamente le vostre regole.' },
|
|
164
|
+
{
|
|
165
|
+
type: 'table',
|
|
166
|
+
headers: ['Impostazione', 'Effetto', 'Consigliato per'],
|
|
167
|
+
rows: [
|
|
168
|
+
['30 punti', 'Gioco breve', 'Partite veloci o tornei lampo'],
|
|
169
|
+
['40 punti', 'Gioco standard', 'Il formato classico tradizionale tra amici'],
|
|
170
|
+
['50 punti', 'Gioco lungo', 'Partite ad alta strategia e maggiore durata'],
|
|
171
|
+
],
|
|
172
|
+
},
|
|
173
|
+
{ type: 'tip', title: 'Conferma le Regole del Tavolo a Voce Alta', html: 'Accertati con gli avversari se giocate con la regola degli 8 Re e 8 Assi e chi gestisce le fiches o i fagioli fisici.' },
|
|
174
|
+
{ type: 'title', text: 'Adattamento tra Mazzo Spagnolo e Mazzo Francese', level: 2 },
|
|
175
|
+
{ type: 'paragraph', html: 'Il mazzo spagnolo originale da 40 carte (Oros, Copas, Espadas, Bastos) è il riferimento naturale. Se utilizzate carte francesi, scartate 8, 9 e 10. I Fanti valgono Sotas, le Donne Caballos e i Re Reyes.' },
|
|
176
|
+
{ type: 'title', text: 'Lettura del Punteggio Digitale al Bordo del Tavolo', level: 2 },
|
|
177
|
+
{ type: 'paragraph', html: 'La cifra principale indica i punti totali. La riga sottostante li traduce automaticamente in amarracos (blocchi da 5) e pietre singole per una verifica visiva immediata.' },
|
|
178
|
+
{ type: 'list', items: ['<strong>Pietra (Piedra):</strong> 1 punto singolo nel conteggio.', '<strong>Amarraco:</strong> 1 fiche equivalente a 5 pietre.', '<strong>Gioco (Chico):</strong> La manche vinta al raggiungimento della meta.', '<strong>Vaca:</strong> La vittoria finale del match dopo aver ottenuto i giochi prefissati.'] },
|
|
179
|
+
{ type: 'title', text: 'Chiusura del Gioco e Correzione degli Errori', level: 2 },
|
|
180
|
+
{ type: 'paragraph', html: 'Al raggiungimento del bersaglio si attiva il pulsante di chiusura con conferma deliberata. In caso di errore durante l\'inserimento di un punto, il pulsante Annulla ripristina la situazione precedente.' },
|
|
181
|
+
{ type: 'tip', title: 'Usa il Tasto Annulla in Caso di Errore', html: 'Se assegni per sbaglio un punto alla coppia avversaria, premi subito Annulla per ripristinare il punteggio senza alterare lo storico.' },
|
|
182
|
+
],
|
|
183
|
+
faq,
|
|
184
|
+
bibliography,
|
|
185
|
+
howTo,
|
|
186
|
+
schemas,
|
|
187
|
+
};
|