Make unusable marker retrieval manual with a per-game opt-in
This commit is contained in:
parent
3614e97d8d
commit
2d0a110f01
28 changed files with 288 additions and 53 deletions
|
|
@ -14,6 +14,8 @@ Node 24+, pnpm. `pnpm install`, `pnpm build`, `pnpm dev` (port 5246). `pnpm test
|
|||
|
||||
BGS supplies the shared `colorBlind` and `sound` preferences. Color-blind mode adds player symbols and K/C/B resource labels; game sounds give a quiet confirmation after successful moves. The toggles in Rules & help update the same BGS account settings. Standalone practice stores its own preferences locally.
|
||||
|
||||
Marker retrieval is manual by default, including the last unusable action stack. Each player can opt into automatic retrieval when retrieving one stack is the only available move in Rules & help; this setting is saved separately for each game. Automatic retrieval never skips optional treasure exchanges or chooses between multiple stacks. Guided lessons always use manual retrieval.
|
||||
|
||||
Supported scope: 2–5 players, all eleven characters, the official two-player variant, optional Rising Waters, replay and finished-game analysis, bots, BGS chat, player hover cards and board thumbnails.
|
||||
|
||||
## References
|
||||
|
|
|
|||
|
|
@ -980,6 +980,7 @@ function automate(s) {
|
|||
(m) => !["beg", "treasure"].includes(m.type),
|
||||
);
|
||||
if (
|
||||
playerSettings(s, s.actor).autoRetrieve &&
|
||||
moves.length === 1 &&
|
||||
moves[0].type === "discard" &&
|
||||
freeMoves(s, s.actor).length === 0
|
||||
|
|
@ -1009,7 +1010,13 @@ function applyMove(data, input, p) {
|
|||
const s = copy(data);
|
||||
execute(s, legal, p);
|
||||
automate(s);
|
||||
s._history.push({ p, move: copy(legal) });
|
||||
s._history.push({
|
||||
p,
|
||||
move: copy(legal),
|
||||
autoRetrieve: data.players.map(
|
||||
(_, q) => playerSettings(data, q).autoRetrieve,
|
||||
),
|
||||
});
|
||||
saveFrame(s);
|
||||
return s;
|
||||
}
|
||||
|
|
@ -1121,10 +1128,17 @@ export function replay(s, { to = logLength(s) } = {}) {
|
|||
b.seed,
|
||||
s.boardLayout ?? 1,
|
||||
);
|
||||
for (const h of s._history.slice(0, to - 1)) r = applyMove(r, h.move, h.p);
|
||||
for (const h of s._history.slice(0, to - 1)) {
|
||||
// Old history entries predate the setting and always retrieved automatically.
|
||||
r.players.forEach((p, i) => {
|
||||
p.settings = { ...p.settings, autoRetrieve: h.autoRetrieve?.[i] ?? true };
|
||||
});
|
||||
r = applyMove(r, h.move, h.p);
|
||||
}
|
||||
s.players.forEach((p, i) => {
|
||||
r.players[i].name = p.name;
|
||||
r.players[i].dropped = p.dropped;
|
||||
r.players[i].settings = copy(p.settings ?? {});
|
||||
});
|
||||
return r;
|
||||
}
|
||||
|
|
@ -1407,3 +1421,19 @@ export function dropPlayer(s, p) {
|
|||
out.players[p].dropped = true;
|
||||
return playDropped(out);
|
||||
}
|
||||
|
||||
// Per-player settings apply only to this game; older saves default to manual retrieval.
|
||||
export function playerSettings(s, p) {
|
||||
check(Number.isInteger(p) && !!s.players[p], "Unknown player");
|
||||
return { autoRetrieve: s.players[p].settings?.autoRetrieve === true };
|
||||
}
|
||||
export function setPlayerSettings(s, p, settings) {
|
||||
playerSettings(s, p);
|
||||
const out = copy(s);
|
||||
if (typeof settings?.autoRetrieve === "boolean")
|
||||
out.players[p].settings = {
|
||||
...out.players[p].settings,
|
||||
autoRetrieve: settings.autoRetrieve,
|
||||
};
|
||||
return out;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "@boardgamers/vanuatu",
|
||||
"version": "0.1.8",
|
||||
"version": "0.1.9",
|
||||
"private": true,
|
||||
"type": "module",
|
||||
"main": "dist/engine.js",
|
||||
|
|
|
|||
|
|
@ -24,8 +24,7 @@ async function api(path, method = "GET", body, contentType) {
|
|||
}
|
||||
const versions = await api("/versions");
|
||||
const existing = versions.some((v) => v.version === 1) ? await api("/1") : null;
|
||||
// Once public, releases only replace the engine and viewer; the live entry's
|
||||
// settings (including its public status) are kept.
|
||||
// Existing entries receive only changed release fields; all other metadata is kept.
|
||||
const live = !!existing?.public;
|
||||
const defaults = {
|
||||
public: false,
|
||||
|
|
@ -53,6 +52,14 @@ const defaults = {
|
|||
thumbnail: true,
|
||||
dependencies: { scripts: [], stylesheets: [] },
|
||||
},
|
||||
settings: [
|
||||
{
|
||||
name: "autoRetrieve",
|
||||
label: "Automatically retrieve markers when there is no choice",
|
||||
type: "checkbox",
|
||||
default: false,
|
||||
},
|
||||
],
|
||||
preferences: [
|
||||
{
|
||||
name: "colorBlind",
|
||||
|
|
@ -90,7 +97,7 @@ if (existing)
|
|||
".local/release/before.json",
|
||||
JSON.stringify(existing, null, 2),
|
||||
);
|
||||
execFileSync("pnpm", ["pack", "--pack-destination", ".local/release"], {
|
||||
execFileSync("npm", ["pack", "--pack-destination", ".local/release"], {
|
||||
stdio: "inherit",
|
||||
});
|
||||
const pkg = JSON.parse(await readFile("package.json", "utf8"));
|
||||
|
|
@ -109,22 +116,46 @@ const files = await uploadViewerFiles(
|
|||
);
|
||||
const viewer = { url: files.url },
|
||||
style = { url: files.stylesheets[0] };
|
||||
const { unlisted: _unlisted, ...previous } = existing ?? {};
|
||||
await api("/1", "PUT", {
|
||||
...previous,
|
||||
...(live ? {} : defaults),
|
||||
const patch = {
|
||||
settings: [
|
||||
...(existing?.settings ?? []).filter(
|
||||
(setting) => setting.name !== "autoRetrieve",
|
||||
),
|
||||
...defaults.settings,
|
||||
],
|
||||
tutorial: {
|
||||
...(existing?.tutorial ?? defaults.tutorial),
|
||||
chapters: existing?.tutorial?.chapters
|
||||
? existing.tutorial.chapters.map((chapter) =>
|
||||
chapter.id === "full-round"
|
||||
? {
|
||||
...chapter,
|
||||
version: chapterMetadata.find((c) => c.id === "full-round")
|
||||
.version,
|
||||
}
|
||||
: chapter,
|
||||
)
|
||||
: chapterMetadata,
|
||||
},
|
||||
engine: { ...engine.engine, entryPoint: "dist/engine.js" },
|
||||
viewer: {
|
||||
...(live ? existing.viewer : defaults.viewer),
|
||||
...(existing?.viewer ?? defaults.viewer),
|
||||
url: viewer.url,
|
||||
scriptBytes: files.scriptBytes,
|
||||
dependencies: {
|
||||
...(live ? existing.viewer.dependencies : defaults.viewer.dependencies),
|
||||
...(existing?.viewer?.dependencies ?? defaults.viewer.dependencies),
|
||||
stylesheets: [style.url],
|
||||
},
|
||||
},
|
||||
});
|
||||
if (!live) {
|
||||
};
|
||||
if (existing) {
|
||||
for (const field of ["settings", "tutorial"])
|
||||
if (JSON.stringify(patch[field]) === JSON.stringify(existing[field]))
|
||||
delete patch[field];
|
||||
}
|
||||
await writeFile(".local/release/patch.json", JSON.stringify(patch, null, 2));
|
||||
await api("/1", "PUT", patch);
|
||||
if (!existing) {
|
||||
await api("/meta", "PUT", { unlisted: null });
|
||||
await api(
|
||||
"/assets/cover?name=Vanuatu",
|
||||
|
|
@ -139,7 +170,15 @@ if (!live) {
|
|||
const published = await api("/1"),
|
||||
meta = await api("/meta");
|
||||
assert.equal(published.public, live);
|
||||
assert.ok(!meta.unlisted);
|
||||
if (existing) {
|
||||
for (const [field, value] of Object.entries(existing))
|
||||
if (!["engine", "viewer", "settings", "tutorial", "updatedAt"].includes(field))
|
||||
assert.deepEqual(
|
||||
published[field],
|
||||
value,
|
||||
`Unexpected metadata change: ${field}`,
|
||||
);
|
||||
} else assert.ok(!meta.unlisted);
|
||||
assert.equal(published.engine.package.version, pkg.version);
|
||||
assert.equal(published.viewer.chat, true);
|
||||
await writeFile(
|
||||
|
|
|
|||
|
|
@ -338,6 +338,51 @@ assert.equal(
|
|||
await page.evaluate(() => window.vanuatuDemo.state.players[0].money),
|
||||
8,
|
||||
);
|
||||
// A per-game opt-in persists with the game and affects only that seat.
|
||||
const retrievalSetting = actionState();
|
||||
retrievalSetting.players[0].markers = { fish: 1 };
|
||||
retrievalSetting.players[1].markers = { build: 1 };
|
||||
retrievalSetting.players[1].money = 0;
|
||||
await page.evaluate((s) => window.vanuatuDemo.setState(s), retrievalSetting);
|
||||
await page.locator(".header-tools [data-help]").click();
|
||||
const autoRetrieve = page.locator('[data-setting="autoRetrieve"]');
|
||||
assert.equal(await autoRetrieve.isChecked(), false);
|
||||
await autoRetrieve.check();
|
||||
await page.waitForFunction(
|
||||
() => window.vanuatuDemo.state.players[0].settings?.autoRetrieve === true,
|
||||
);
|
||||
assert.equal(await autoRetrieve.isChecked(), true);
|
||||
assert.equal(
|
||||
await page.evaluate(
|
||||
() =>
|
||||
window.vanuatuDemo.engine.playerSettings(window.vanuatuDemo.state, 1)
|
||||
.autoRetrieve,
|
||||
),
|
||||
false,
|
||||
);
|
||||
await autoRetrieve.uncheck();
|
||||
await page.waitForFunction(
|
||||
() => window.vanuatuDemo.state.players[0].settings?.autoRetrieve === false,
|
||||
);
|
||||
await page.locator("dialog [data-close]").click();
|
||||
await page.evaluate((s) => window.vanuatuDemo.setState(s), retrievalSetting);
|
||||
await page.locator('[data-action="fish"]').click();
|
||||
await page.locator(".turn-tray .primary[data-move]").click();
|
||||
await page.waitForFunction(() => window.vanuatuDemo.state.actor === 1);
|
||||
assert.equal(
|
||||
await page.evaluate(() => window.vanuatuDemo.state.players[1].markers.build),
|
||||
1,
|
||||
);
|
||||
await page.locator('[data-action="build"]').click();
|
||||
assert.match(
|
||||
await page.locator(".turn-tray").innerText(),
|
||||
/0 available, 3 needed/,
|
||||
);
|
||||
await page.locator(".turn-tray .retrieve-warning").click();
|
||||
assert.equal(
|
||||
await page.evaluate(() => window.vanuatuDemo.state.players[1].markers.build),
|
||||
0,
|
||||
);
|
||||
for (const width of [1440, 390]) {
|
||||
await page.setViewportSize({ width, height: width === 390 ? 844 : 1000 });
|
||||
// An empty supply blocks transport, but must not prevent retrieving markers.
|
||||
|
|
|
|||
|
|
@ -309,13 +309,14 @@ test("planned sailing can spend a vatu before a sale to avoid conversion and fun
|
|||
s.players[0].markers.sail = 1;
|
||||
assert.equal(sellThenExport(), true);
|
||||
});
|
||||
test("an optional treasure sale is not skipped by automatic marker retrieval", () => {
|
||||
test("an optional treasure sale is not skipped by opted-in automatic marker retrieval", () => {
|
||||
let s = actionState();
|
||||
s.actor = 0;
|
||||
s.players[0].markers = { ...s.players[0].markers, fish: 1 };
|
||||
s.players[1].markers = Object.fromEntries(
|
||||
E.ACTIONS.map((a) => [a, a === "sail" ? 1 : 0]),
|
||||
);
|
||||
s = E.setPlayerSettings(s, 1, { autoRetrieve: true });
|
||||
s.players[1].money = 0;
|
||||
s.players[1].treasures = [2];
|
||||
s = E.move(s, act(s, 0, "fish"), 0);
|
||||
|
|
|
|||
|
|
@ -18,6 +18,58 @@ function position() {
|
|||
return s;
|
||||
}
|
||||
|
||||
test("the last unusable stack waits for its player before ending the round", () => {
|
||||
let s = position();
|
||||
s.players[1].markers.rest = 0;
|
||||
s.players[0].markers.draw = 2;
|
||||
s.board["0,0"].drawings = E.TILES[s.board["0,0"].id].drawings;
|
||||
s.players[0].rest = "both";
|
||||
const before = structuredClone(s);
|
||||
s = E.move(s, { type: "discard", action: "build" }, 0);
|
||||
assert.equal(s.round, 1);
|
||||
assert.equal(s.actor, 0);
|
||||
assert.equal(s.players[0].markers.draw, 2);
|
||||
assert.equal(s.players[0].score, 0);
|
||||
assert.deepEqual(E.availableMoves(s), [{ type: "discard", action: "draw" }]);
|
||||
assert.deepEqual(before.players[0].markers.draw, 2);
|
||||
s = E.move(s, { type: "discard", action: "draw" }, 0);
|
||||
assert.equal(s.round, 2);
|
||||
assert.equal(s.players[0].markers.draw, 0);
|
||||
assert.equal(s.players[0].score, 1);
|
||||
assert.equal(s._history.at(-1).move.action, "draw");
|
||||
});
|
||||
|
||||
test("automatic retrieval is opt-in for the next actor, scoped to each player", () => {
|
||||
let s = position();
|
||||
s.players[1].markers = { draw: 1 };
|
||||
s.board["0,0"].drawings = E.TILES[s.board["0,0"].id].drawings;
|
||||
assert.deepEqual(E.playerSettings(s, 1), { autoRetrieve: false });
|
||||
const optedIn = E.setPlayerSettings(s, 1, { autoRetrieve: true });
|
||||
assert.deepEqual(E.playerSettings(s, 1), { autoRetrieve: false });
|
||||
assert.deepEqual(E.playerSettings(optedIn, 0), { autoRetrieve: false });
|
||||
const manual = E.move(s, { type: "discard", action: "build" }, 0);
|
||||
assert.equal(manual.actor, 1);
|
||||
assert.equal(manual.players[1].markers.draw, 1);
|
||||
const automatic = E.move(optedIn, { type: "discard", action: "build" }, 0);
|
||||
assert.equal(automatic.round, 2);
|
||||
assert.equal(automatic.players[1].markers.draw, 0);
|
||||
assert.deepEqual(automatic._history.at(-1).autoRetrieve, [
|
||||
false,
|
||||
true,
|
||||
false,
|
||||
]);
|
||||
const disabled = E.setPlayerSettings(optedIn, 1, { autoRetrieve: false });
|
||||
assert.equal(
|
||||
E.move(disabled, { type: "discard", action: "build" }, 0).round,
|
||||
1,
|
||||
);
|
||||
assert.equal(
|
||||
E.playerSettings(E.setPlayerSettings(s, 1, { autoRetrieve: "true" }), 1)
|
||||
.autoRetrieve,
|
||||
false,
|
||||
);
|
||||
});
|
||||
|
||||
test("treasure exchanges count as retrieval alternatives only when they unlock an action", () => {
|
||||
const s = position();
|
||||
s.players[0].treasures = [2];
|
||||
|
|
@ -101,3 +153,17 @@ test("funding respects preacher permission and actor", () => {
|
|||
assert.deepEqual(E.actionsAfterExchanges(s), []);
|
||||
assert.deepEqual(E.actionsAfterExchanges(s, 1), []);
|
||||
});
|
||||
|
||||
test("replay keeps automatic retrieval decisions across setting changes", () => {
|
||||
let s = E.init(3, [], {}, "retrieval-replay");
|
||||
for (let n = 0; n < 120 && !s.finished; n++) {
|
||||
if (n % 10 === 0)
|
||||
s = E.setPlayerSettings(s, n % 3, { autoRetrieve: n % 20 === 0 });
|
||||
s = E.moveAI(s, s.actor);
|
||||
}
|
||||
const replayed = E.replay(s);
|
||||
assert.equal(replayed.actor, s.actor);
|
||||
assert.equal(replayed.round, s.round);
|
||||
assert.deepEqual(replayed.events, s.events);
|
||||
assert.deepEqual(replayed.players, s.players);
|
||||
});
|
||||
|
|
|
|||
|
|
@ -50,12 +50,23 @@ test("the full-round lesson forces a changed order and lets the player choose a
|
|||
new Set(["build", "draw"]),
|
||||
);
|
||||
}
|
||||
if (current.id === "last-stack") {
|
||||
assert.equal(state.round, 1);
|
||||
assert.equal(
|
||||
state.players[0].score,
|
||||
0,
|
||||
"Rest waits for manual retrieval",
|
||||
);
|
||||
assert.equal(legal.length, 1);
|
||||
assert.equal(legal[0].type, "discard");
|
||||
assert.notEqual(legal[0].action, firstDiscard);
|
||||
}
|
||||
if (canContinue) await lesson.continue();
|
||||
else {
|
||||
const chosen = legal.find(
|
||||
(m) =>
|
||||
!current.validateMove?.(state, m) &&
|
||||
(m.type !== "discard" || m.action === firstDiscard),
|
||||
(current.id !== "retrieve" || m.action === firstDiscard),
|
||||
);
|
||||
assert.ok(chosen, current.id);
|
||||
if (chosen.type === "act") actions.push(chosen.action);
|
||||
|
|
|
|||
|
|
@ -23,6 +23,7 @@ registerViewer(
|
|||
onOpenPlayer: ctx.openPlayer,
|
||||
onOpenBoardgame: ctx.openBoardgame,
|
||||
onPreference: ctx.updatePreference,
|
||||
onSetting: ctx.updateSetting,
|
||||
onUndo: ctx.undo,
|
||||
onMove: (m) =>
|
||||
new Promise((resolve, reject) => {
|
||||
|
|
@ -79,6 +80,9 @@ registerViewer(
|
|||
if (!(await localization.setLocale(p.locale ?? p.language))) return;
|
||||
ui.setPreferences(p);
|
||||
},
|
||||
onSettings(settings) {
|
||||
ui.setSettings(settings);
|
||||
},
|
||||
onAvatars(avatars) {
|
||||
ui.setAvatars(avatars);
|
||||
},
|
||||
|
|
|
|||
|
|
@ -889,7 +889,7 @@
|
|||
"Choose which stack to retrieve": "Vælg hvilken stak du tager tilbage",
|
||||
"Only Build and Draw remain. Both now have your majority, but the island has no space for either. Choose which stack to retrieve without acting; the game does not choose for you.": "Kun Byggeri og Tegning er tilbage. Du har flertal i begge, men øen har ingen plads. Vælg hvilken stak du tager tilbage uden at handle; spillet vælger ikke for dig.",
|
||||
"Finish the round": "Afslut runden",
|
||||
"The last stack had no possible action, so it was retrieved automatically. Rest bonuses are now paid; Maya's First player token makes her start the next round.": "Den sidste stak tillod ingen handling og blev derfor taget tilbage automatisk. Hvilebonusserne er nu udbetalt; Mayas startspillerbrik lader hende starte næste runde.",
|
||||
"Retrieve your last stack without acting: the island has no space for it. This finishes the round and pays Rest bonuses; Maya starts the next round.": "Tag din sidste stak tilbage uden at handle: øen har ikke plads. Det afslutter runden og giver Hvile-bonusserne; Maya starter næste runde.",
|
||||
"A complete round": "En hel runde",
|
||||
"You played a whole round: Rest → Fish → Sell, then retrieved two unusable stacks. Your Rest bonus is now paid. Plan useful alternatives: a marker does not reserve an action, its resources or its place in your sequence.": "Du spillede en hel runde: Hvile → Fiskeri → Salg og tog derefter to ubrugelige stakke tilbage. Din hvilebonus er udbetalt. Planlæg alternativer: en markør reserverer hverken en handling, dens ressourcer eller dens plads i rækkefølgen.",
|
||||
"No tourists available this round.": "Ingen turister til rådighed i denne runde.",
|
||||
|
|
@ -946,5 +946,6 @@
|
|||
"No majority on this action.": "Intet flertal på denne handling.",
|
||||
"Wait for your turn.": "Vent på din tur.",
|
||||
"Choose an action to take back its markers without acting.": "Vælg en handling, hvis markører du tager tilbage uden at handle.",
|
||||
"Undo my move": "Fortryd mit træk"
|
||||
"Undo my move": "Fortryd mit træk",
|
||||
"Automatically retrieve markers when there is no choice": "Tag automatisk markører tilbage, når der ikke er noget valg"
|
||||
}
|
||||
|
|
|
|||
|
|
@ -889,7 +889,7 @@
|
|||
"Choose which stack to retrieve": "Wähle den Stapel zum Zurücknehmen",
|
||||
"Only Build and Draw remain. Both now have your majority, but the island has no space for either. Choose which stack to retrieve without acting; the game does not choose for you.": "Nur Bauen und Zeichnen bleiben. Du hast nun bei beiden die Mehrheit, aber auf der Insel ist kein Platz mehr. Wähle selbst, welchen Stapel du ohne Aktion zurücknimmst.",
|
||||
"Finish the round": "Beende die Runde",
|
||||
"The last stack had no possible action, so it was retrieved automatically. Rest bonuses are now paid; Maya's First player token makes her start the next round.": "Der letzte Stapel erlaubte keine Aktion und wurde automatisch zurückgenommen. Die Ruheboni werden ausgezahlt; Mayas Startspieler-Plättchen lässt sie die nächste Runde beginnen.",
|
||||
"Retrieve your last stack without acting: the island has no space for it. This finishes the round and pays Rest bonuses; Maya starts the next round.": "Nimm deinen letzten Stapel ohne Aktion zurück: Auf der Insel ist kein Platz mehr. Damit endet die Runde und die Ruheboni werden ausgezahlt; Maya beginnt die nächste Runde.",
|
||||
"A complete round": "Eine ganze Runde",
|
||||
"You played a whole round: Rest → Fish → Sell, then retrieved two unusable stacks. Your Rest bonus is now paid. Plan useful alternatives: a marker does not reserve an action, its resources or its place in your sequence.": "Du hast eine ganze Runde gespielt: Ausruhen → Fischen → Verkaufen, dann zwei unbrauchbare Stapel zurückgenommen. Dein Ruhebonus ist ausgezahlt. Plane Alternativen: Ein Marker reserviert weder eine Aktion noch ihre Ressourcen oder ihre Position in deiner Reihenfolge.",
|
||||
"No tourists available this round.": "In dieser Runde sind keine Touristen verfügbar.",
|
||||
|
|
@ -946,5 +946,6 @@
|
|||
"No majority on this action.": "Keine Mehrheit bei dieser Aktion.",
|
||||
"Wait for your turn.": "Warte, bis du am Zug bist.",
|
||||
"Choose an action to take back its markers without acting.": "Wähle eine Aktion, deren Marker du ohne Aktion zurücknimmst.",
|
||||
"Undo my move": "Zug zurücknehmen"
|
||||
"Undo my move": "Zug zurücknehmen",
|
||||
"Automatically retrieve markers when there is no choice": "Marker automatisch zurücknehmen, wenn es keine Wahl gibt"
|
||||
}
|
||||
|
|
|
|||
|
|
@ -889,7 +889,7 @@
|
|||
"Choose which stack to retrieve": "Επιλέξτε ποια στοίβα θα ανακτήσετε",
|
||||
"Only Build and Draw remain. Both now have your majority, but the island has no space for either. Choose which stack to retrieve without acting; the game does not choose for you.": "Απομένουν μόνο Κατασκευή και Σχέδιο. Έχετε πλειοψηφία και στις δύο ενέργειες, αλλά το νησί δεν έχει χώρο. Επιλέξτε ποια στοίβα θα ανακτήσετε χωρίς ενέργεια· το παιχνίδι δεν επιλέγει για εσάς.",
|
||||
"Finish the round": "Ολοκληρώστε τον γύρο",
|
||||
"The last stack had no possible action, so it was retrieved automatically. Rest bonuses are now paid; Maya's First player token makes her start the next round.": "Η τελευταία στοίβα δεν επέτρεπε καμία ενέργεια και ανακτήθηκε αυτόματα. Τα μπόνους Ανάπαυσης αποδόθηκαν· το πλακίδιο Πρώτου παίκτη της Maya την κάνει να αρχίσει τον επόμενο γύρο.",
|
||||
"Retrieve your last stack without acting: the island has no space for it. This finishes the round and pays Rest bonuses; Maya starts the next round.": "Ανάκτησε την τελευταία σου στοίβα χωρίς ενέργεια: δεν υπάρχει χώρος στο νησί. Έτσι τελειώνει ο γύρος και δίνονται τα μπόνους Ανάπαυσης· η Maya ξεκινά τον επόμενο γύρο.",
|
||||
"A complete round": "Ένας ολόκληρος γύρος",
|
||||
"You played a whole round: Rest → Fish → Sell, then retrieved two unusable stacks. Your Rest bonus is now paid. Plan useful alternatives: a marker does not reserve an action, its resources or its place in your sequence.": "Παίξατε ολόκληρο γύρο: Ανάπαυση → Ψάρεμα → Πώληση και ανακτήσατε δύο άχρηστες στοίβες. Το μπόνους Ανάπαυσης αποδόθηκε. Σχεδιάστε εναλλακτικές: ένας δείκτης δεν δεσμεύει ενέργεια, πόρους ή θέση στην ακολουθία σας.",
|
||||
"No tourists available this round.": "Δεν υπάρχουν διαθέσιμοι τουρίστες σε αυτόν τον γύρο.",
|
||||
|
|
@ -946,5 +946,6 @@
|
|||
"No majority on this action.": "Καμία πλειοψηφία σε αυτή τη δράση.",
|
||||
"Wait for your turn.": "Περιμένετε τη σειρά σας.",
|
||||
"Choose an action to take back its markers without acting.": "Επίλεξε μια ενέργεια για να πάρεις πίσω τους δείκτες της χωρίς να την εκτελέσεις.",
|
||||
"Undo my move": "Αναίρεση κίνησης"
|
||||
"Undo my move": "Αναίρεση κίνησης",
|
||||
"Automatically retrieve markers when there is no choice": "Αυτόματη ανάκτηση δεικτών όταν δεν υπάρχει επιλογή"
|
||||
}
|
||||
|
|
|
|||
|
|
@ -889,7 +889,7 @@
|
|||
"Choose which stack to retrieve": "Choose which stack to retrieve",
|
||||
"Only Build and Draw remain. Both now have your majority, but the island has no space for either. Choose which stack to retrieve without acting; the game does not choose for you.": "Only Build and Draw remain. Both now have your majority, but the island has no space for either. Choose which stack to retrieve without acting; the game does not choose for you.",
|
||||
"Finish the round": "Finish the round",
|
||||
"The last stack had no possible action, so it was retrieved automatically. Rest bonuses are now paid; Maya's First player token makes her start the next round.": "The last stack had no possible action, so it was retrieved automatically. Rest bonuses are now paid; Maya's First player token makes her start the next round.",
|
||||
"Retrieve your last stack without acting: the island has no space for it. This finishes the round and pays Rest bonuses; Maya starts the next round.": "Retrieve your last stack without acting: the island has no space for it. This finishes the round and pays Rest bonuses; Maya starts the next round.",
|
||||
"A complete round": "A complete round",
|
||||
"You played a whole round: Rest → Fish → Sell, then retrieved two unusable stacks. Your Rest bonus is now paid. Plan useful alternatives: a marker does not reserve an action, its resources or its place in your sequence.": "You played a whole round: Rest → Fish → Sell, then retrieved two unusable stacks. Your Rest bonus is now paid. Plan useful alternatives: a marker does not reserve an action, its resources or its place in your sequence.",
|
||||
"No tourists available this round.": "No tourists available this round.",
|
||||
|
|
@ -946,5 +946,6 @@
|
|||
"No majority on this action.": "No majority on this action.",
|
||||
"Wait for your turn.": "Wait for your turn.",
|
||||
"Choose an action to take back its markers without acting.": "Choose an action to take back its markers without acting.",
|
||||
"Undo my move": "Undo my move"
|
||||
"Undo my move": "Undo my move",
|
||||
"Automatically retrieve markers when there is no choice": "Automatically retrieve markers when there is no choice"
|
||||
}
|
||||
|
|
|
|||
|
|
@ -889,7 +889,7 @@
|
|||
"Choose which stack to retrieve": "انتخاب کنید کدام دسته را پس بگیرید",
|
||||
"Only Build and Draw remain. Both now have your majority, but the island has no space for either. Choose which stack to retrieve without acting; the game does not choose for you.": "فقط ساختوساز و نقاشی باقی ماندهاند. اکنون در هر دو اکثریت دارید، اما جزیره جا ندارد. خودتان انتخاب کنید کدام دسته را بدون اقدام پس بگیرید؛ بازی بهجای شما انتخاب نمیکند.",
|
||||
"Finish the round": "دور را تمام کنید",
|
||||
"The last stack had no possible action, so it was retrieved automatically. Rest bonuses are now paid; Maya's First player token makes her start the next round.": "آخرین دسته هیچ اقدام ممکنی نداشت، پس خودکار پس گرفته شد. پاداشهای استراحت پرداخت شدند؛ توکن بازیکن اول مایا باعث میشود او دور بعد را آغاز کند.",
|
||||
"Retrieve your last stack without acting: the island has no space for it. This finishes the round and pays Rest bonuses; Maya starts the next round.": "آخرین دستهٔ خود را بدون اقدام پس بگیرید: جزیره جا ندارد. این کار دور را تمام میکند و پاداشهای استراحت را میدهد؛ Maya دور بعد را آغاز میکند.",
|
||||
"A complete round": "یک دور کامل",
|
||||
"You played a whole round: Rest → Fish → Sell, then retrieved two unusable stacks. Your Rest bonus is now paid. Plan useful alternatives: a marker does not reserve an action, its resources or its place in your sequence.": "یک دور کامل بازی کردید: استراحت، سپس ماهیگیری و فروش، و بعد پس گرفتن دو دستهٔ بیاستفاده. پاداش استراحت پرداخت شد. گزینههای جایگزین داشته باشید: نشانگر، اقدام یا منابع یا جای آن در ترتیب شما را رزرو نمیکند.",
|
||||
"No tourists available this round.": "در این دور هیچ گردشگری در دسترس نیست.",
|
||||
|
|
@ -946,5 +946,6 @@
|
|||
"No majority on this action.": "در این اقدام اکثریت ندارید.",
|
||||
"Wait for your turn.": "منتظر نوبت خود باشید.",
|
||||
"Choose an action to take back its markers without acting.": "اقدامی را انتخاب کنید تا مهرههایش را بدون انجام آن پس بگیرید.",
|
||||
"Undo my move": "بازگرداندن حرکت"
|
||||
"Undo my move": "بازگرداندن حرکت",
|
||||
"Automatically retrieve markers when there is no choice": "پسگرفتن خودکار نشانگرها وقتی انتخابی وجود ندارد"
|
||||
}
|
||||
|
|
|
|||
|
|
@ -889,7 +889,7 @@
|
|||
"Choose which stack to retrieve": "Choisissez quelle pile retirer",
|
||||
"Only Build and Draw remain. Both now have your majority, but the island has no space for either. Choose which stack to retrieve without acting; the game does not choose for you.": "Il ne reste que Construire et Dessiner. Vous y avez maintenant la majorité, mais l'île n'a plus de place. Choisissez quelle pile retirer sans agir ; le jeu ne choisit pas à votre place.",
|
||||
"Finish the round": "Terminez la manche",
|
||||
"The last stack had no possible action, so it was retrieved automatically. Rest bonuses are now paid; Maya's First player token makes her start the next round.": "La dernière pile ne permettait aucune action : elle a donc été retirée automatiquement. Les bonus Repos sont versés ; le jeton Premier joueur de Maya lui fera commencer la prochaine manche.",
|
||||
"Retrieve your last stack without acting: the island has no space for it. This finishes the round and pays Rest bonuses; Maya starts the next round.": "Reprenez votre dernière pile sans agir : l'île n'a plus de place. Cela termine la manche et accorde les bonus de Repos ; Maya commence la manche suivante.",
|
||||
"A complete round": "Une manche complète",
|
||||
"You played a whole round: Rest → Fish → Sell, then retrieved two unusable stacks. Your Rest bonus is now paid. Plan useful alternatives: a marker does not reserve an action, its resources or its place in your sequence.": "Vous avez joué une manche entière : Se reposer → Pêcher → Vendre, puis retiré deux piles inutilisables. Votre bonus Repos est versé. Prévoyez des alternatives utiles : un marqueur ne réserve ni une action, ni ses ressources, ni sa place dans votre enchaînement.",
|
||||
"No tourists available this round.": "Aucun touriste disponible pour cette manche.",
|
||||
|
|
@ -946,5 +946,6 @@
|
|||
"No majority on this action.": "Pas de majorité sur cette action.",
|
||||
"Wait for your turn.": "Attendez votre tour.",
|
||||
"Choose an action to take back its markers without acting.": "Choisissez une action dont vous reprenez les marqueurs sans agir.",
|
||||
"Undo my move": "Annuler mon coup"
|
||||
"Undo my move": "Annuler mon coup",
|
||||
"Automatically retrieve markers when there is no choice": "Reprendre automatiquement les marqueurs lorsqu'il n'y a pas de choix"
|
||||
}
|
||||
|
|
|
|||
|
|
@ -889,7 +889,7 @@
|
|||
"Choose which stack to retrieve": "चुनें कौन-सा ढेर वापस लेना है",
|
||||
"Only Build and Draw remain. Both now have your majority, but the island has no space for either. Choose which stack to retrieve without acting; the game does not choose for you.": "केवल निर्माण और चित्र बनाना बचे हैं। दोनों में अब आपका बहुमत है, लेकिन द्वीप पर जगह नहीं है। चुनें कौन-सा ढेर बिना क्रिया किए वापस लेना है; खेल आपके लिए नहीं चुनता।",
|
||||
"Finish the round": "राउंड पूरा करें",
|
||||
"The last stack had no possible action, so it was retrieved automatically. Rest bonuses are now paid; Maya's First player token makes her start the next round.": "आखिरी ढेर से कोई क्रिया संभव नहीं थी, इसलिए वह अपने-आप वापस आ गया। आराम के बोनस मिल गए हैं; माया का पहला खिलाड़ी टोकन उसे अगला राउंड शुरू करने देगा।",
|
||||
"Retrieve your last stack without acting: the island has no space for it. This finishes the round and pays Rest bonuses; Maya starts the next round.": "बिना क्रिया किए अपना आखिरी ढेर वापस लें: द्वीप पर जगह नहीं है। इससे दौर समाप्त होता है और विश्राम के बोनस मिलते हैं; माया अगला दौर शुरू करती है।",
|
||||
"A complete round": "एक पूरा राउंड",
|
||||
"You played a whole round: Rest → Fish → Sell, then retrieved two unusable stacks. Your Rest bonus is now paid. Plan useful alternatives: a marker does not reserve an action, its resources or its place in your sequence.": "आपने पूरा राउंड खेला: आराम → मछली पकड़ना → बेचना, फिर दो अनुपयोगी ढेर वापस लिए। आराम का बोनस मिल गया है। उपयोगी विकल्प रखें: मार्कर किसी क्रिया, उसके संसाधनों या उसके क्रम को आरक्षित नहीं करता।",
|
||||
"No tourists available this round.": "इस दौर में कोई पर्यटक उपलब्ध नहीं है।",
|
||||
|
|
@ -946,5 +946,6 @@
|
|||
"No majority on this action.": "इस क्रिया पर बहुमत नहीं है।",
|
||||
"Wait for your turn.": "अपनी बारी का इंतज़ार करें।",
|
||||
"Choose an action to take back its markers without acting.": "एक कार्रवाई चुनें जिसके मार्कर आप बिना कार्रवाई किए वापस लेंगे।",
|
||||
"Undo my move": "अपनी चाल वापस लें"
|
||||
"Undo my move": "अपनी चाल वापस लें",
|
||||
"Automatically retrieve markers when there is no choice": "कोई विकल्प न होने पर मार्कर अपने-आप वापस लें"
|
||||
}
|
||||
|
|
|
|||
|
|
@ -889,7 +889,7 @@
|
|||
"Choose which stack to retrieve": "Scegli quale pila ritirare",
|
||||
"Only Build and Draw remain. Both now have your majority, but the island has no space for either. Choose which stack to retrieve without acting; the game does not choose for you.": "Restano solo Costruire e Disegnare. Hai la maggioranza in entrambe, ma sull'isola non c'è più spazio. Scegli quale pila ritirare senza agire: il gioco non sceglie per te.",
|
||||
"Finish the round": "Termina il round",
|
||||
"The last stack had no possible action, so it was retrieved automatically. Rest bonuses are now paid; Maya's First player token makes her start the next round.": "L'ultima pila non permetteva alcuna azione, quindi è stata ritirata automaticamente. I bonus Riposo vengono assegnati; il gettone Primo giocatore di Maya le farà iniziare il prossimo round.",
|
||||
"Retrieve your last stack without acting: the island has no space for it. This finishes the round and pays Rest bonuses; Maya starts the next round.": "Ritira l'ultima pila senza agire: sull'isola non c'è spazio. Questo conclude il round e assegna i bonus Riposo; Maya inizia il round successivo.",
|
||||
"A complete round": "Un round completo",
|
||||
"You played a whole round: Rest → Fish → Sell, then retrieved two unusable stacks. Your Rest bonus is now paid. Plan useful alternatives: a marker does not reserve an action, its resources or its place in your sequence.": "Hai giocato un round intero: Riposare → Pescare → Vendere, poi hai ritirato due pile inutilizzabili. Il bonus Riposo è stato assegnato. Prevedi alternative: un segnalino non riserva un'azione, le sue risorse o il suo posto nella sequenza.",
|
||||
"No tourists available this round.": "Nessun turista disponibile in questo round.",
|
||||
|
|
@ -946,5 +946,6 @@
|
|||
"No majority on this action.": "Nessuna maggioranza su questa azione.",
|
||||
"Wait for your turn.": "Attendi il tuo turno.",
|
||||
"Choose an action to take back its markers without acting.": "Scegli un’azione di cui riprendere i segnalini senza agire.",
|
||||
"Undo my move": "Annulla la mossa"
|
||||
"Undo my move": "Annulla la mossa",
|
||||
"Automatically retrieve markers when there is no choice": "Ritirare automaticamente i segnalini quando non c'è scelta"
|
||||
}
|
||||
|
|
|
|||
|
|
@ -889,7 +889,7 @@
|
|||
"Choose which stack to retrieve": "회수할 마커 더미를 고르세요",
|
||||
"Only Build and Draw remain. Both now have your majority, but the island has no space for either. Choose which stack to retrieve without acting; the game does not choose for you.": "건설과 그림만 남았습니다. 이제 두 행동 모두 내 마커가 우세하지만 섬에 자리가 없습니다. 행동 없이 회수할 더미를 직접 고르세요. 게임이 대신 고르지 않습니다.",
|
||||
"Finish the round": "라운드를 마치세요",
|
||||
"The last stack had no possible action, so it was retrieved automatically. Rest bonuses are now paid; Maya's First player token makes her start the next round.": "마지막 더미로 가능한 행동이 없으므로 자동으로 회수됐습니다. 휴식 보너스가 지급됐으며 선 플레이어 토큰을 가진 Maya가 다음 라운드를 시작합니다.",
|
||||
"Retrieve your last stack without acting: the island has no space for it. This finishes the round and pays Rest bonuses; Maya starts the next round.": "행동하지 않고 마지막 더미를 회수하세요. 섬에 공간이 없습니다. 라운드가 끝나고 휴식 보너스가 지급되며 Maya가 다음 라운드를 시작합니다.",
|
||||
"A complete round": "한 라운드 완료",
|
||||
"You played a whole round: Rest → Fish → Sell, then retrieved two unusable stacks. Your Rest bonus is now paid. Plan useful alternatives: a marker does not reserve an action, its resources or its place in your sequence.": "휴식 → 낚시 → 판매 후 사용할 수 없는 두 더미를 회수하며 한 라운드를 마쳤습니다. 휴식 보너스도 받았습니다. 대안을 준비하세요. 마커는 행동, 자원, 실행 순서를 예약하지 않습니다.",
|
||||
"No tourists available this round.": "이번 라운드에 남은 관광객이 없습니다.",
|
||||
|
|
@ -946,5 +946,6 @@
|
|||
"No majority on this action.": "이 행동에서 과반을 차지하지 못했습니다.",
|
||||
"Wait for your turn.": "차례를 기다리세요.",
|
||||
"Choose an action to take back its markers without acting.": "행동하지 않고 마커를 회수할 행동을 선택하세요.",
|
||||
"Undo my move": "내 수 되돌리기"
|
||||
"Undo my move": "내 수 되돌리기",
|
||||
"Automatically retrieve markers when there is no choice": "선택의 여지가 없을 때 마커 자동 회수"
|
||||
}
|
||||
|
|
|
|||
|
|
@ -889,7 +889,7 @@
|
|||
"Choose which stack to retrieve": "Kies welke stapel je terugneemt",
|
||||
"Only Build and Draw remain. Both now have your majority, but the island has no space for either. Choose which stack to retrieve without acting; the game does not choose for you.": "Alleen Bouwen en Tekenen blijven over. Je hebt bij beide de meerderheid, maar het eiland is vol. Kies welke stapel je zonder actie terugneemt; het spel kiest niet voor jou.",
|
||||
"Finish the round": "Rond de ronde af",
|
||||
"The last stack had no possible action, so it was retrieved automatically. Rest bonuses are now paid; Maya's First player token makes her start the next round.": "De laatste stapel had geen mogelijke actie en werd automatisch teruggenomen. De rustbonussen zijn nu toegekend; dankzij haar startspelertoken begint Maya de volgende ronde.",
|
||||
"Retrieve your last stack without acting: the island has no space for it. This finishes the round and pays Rest bonuses; Maya starts the next round.": "Neem je laatste stapel terug zonder actie: op het eiland is geen ruimte. Dit beëindigt de ronde en keert de Rust-bonussen uit; Maya begint de volgende ronde.",
|
||||
"A complete round": "Een volledige ronde",
|
||||
"You played a whole round: Rest → Fish → Sell, then retrieved two unusable stacks. Your Rest bonus is now paid. Plan useful alternatives: a marker does not reserve an action, its resources or its place in your sequence.": "Je speelde een hele ronde: Rusten → Vissen → Verkopen, daarna nam je twee onbruikbare stapels terug. Je rustbonus is toegekend. Plan alternatieven: een marker reserveert geen actie, grondstoffen of plek in je volgorde.",
|
||||
"No tourists available this round.": "Deze ronde zijn er geen toeristen beschikbaar.",
|
||||
|
|
@ -946,5 +946,6 @@
|
|||
"No majority on this action.": "Geen meerderheid op deze actie.",
|
||||
"Wait for your turn.": "Wacht op je beurt.",
|
||||
"Choose an action to take back its markers without acting.": "Kies een actie waarvan je de markers zonder actie terugneemt.",
|
||||
"Undo my move": "Zet ongedaan maken"
|
||||
"Undo my move": "Zet ongedaan maken",
|
||||
"Automatically retrieve markers when there is no choice": "Markeringen automatisch terugnemen als er geen keuze is"
|
||||
}
|
||||
|
|
|
|||
|
|
@ -889,7 +889,7 @@
|
|||
"Choose which stack to retrieve": "Wybierz stos do zabrania",
|
||||
"Only Build and Draw remain. Both now have your majority, but the island has no space for either. Choose which stack to retrieve without acting; the game does not choose for you.": "Zostały tylko Budowa i Rysowanie. Masz większość w obu akcjach, ale na wyspie nie ma miejsca. Wybierz stos do zabrania bez wykonywania akcji; gra nie wybiera za ciebie.",
|
||||
"Finish the round": "Zakończ rundę",
|
||||
"The last stack had no possible action, so it was retrieved automatically. Rest bonuses are now paid; Maya's First player token makes her start the next round.": "Ostatni stos nie umożliwiał żadnej akcji, więc zabrano go automatycznie. Premie Odpoczynku zostały wypłacone; żeton Pierwszego gracza pozwoli Mayi rozpocząć kolejną rundę.",
|
||||
"Retrieve your last stack without acting: the island has no space for it. This finishes the round and pays Rest bonuses; Maya starts the next round.": "Zabierz ostatni stos bez wykonywania akcji: na wyspie nie ma miejsca. To kończy rundę i wypłaca premie Odpoczynku; Maya rozpoczyna kolejną rundę.",
|
||||
"A complete round": "Cała runda",
|
||||
"You played a whole round: Rest → Fish → Sell, then retrieved two unusable stacks. Your Rest bonus is now paid. Plan useful alternatives: a marker does not reserve an action, its resources or its place in your sequence.": "Rozegrałeś całą rundę: Odpoczynek → Łowienie → Sprzedaż, potem zabrałeś dwa bezużyteczne stosy. Premia Odpoczynku została wypłacona. Planuj alternatywy: znacznik nie rezerwuje akcji, jej zasobów ani miejsca w kolejności.",
|
||||
"No tourists available this round.": "W tej rundzie nie ma dostępnych turystów.",
|
||||
|
|
@ -946,5 +946,6 @@
|
|||
"No majority on this action.": "Brak większości w tej akcji.",
|
||||
"Wait for your turn.": "Poczekaj na swoją turę.",
|
||||
"Choose an action to take back its markers without acting.": "Wybierz akcję, z której zabierasz znaczniki bez jej wykonywania.",
|
||||
"Undo my move": "Cofnij ruch"
|
||||
"Undo my move": "Cofnij ruch",
|
||||
"Automatically retrieve markers when there is no choice": "Automatycznie zabieraj znaczniki, gdy nie ma wyboru"
|
||||
}
|
||||
|
|
|
|||
|
|
@ -889,7 +889,7 @@
|
|||
"Choose which stack to retrieve": "Escolha qual pilha retirar",
|
||||
"Only Build and Draw remain. Both now have your majority, but the island has no space for either. Choose which stack to retrieve without acting; the game does not choose for you.": "Só restam Construir e Desenhar. Você tem a maioria nas duas ações, mas não há espaço na ilha. Escolha qual pilha retirar sem agir; o jogo não escolhe por você.",
|
||||
"Finish the round": "Termine a rodada",
|
||||
"The last stack had no possible action, so it was retrieved automatically. Rest bonuses are now paid; Maya's First player token makes her start the next round.": "A última pilha não permitia nenhuma ação e foi retirada automaticamente. Os bônus de descanso foram pagos; a ficha de Primeiro jogador de Maya faz com que ela comece a próxima rodada.",
|
||||
"Retrieve your last stack without acting: the island has no space for it. This finishes the round and pays Rest bonuses; Maya starts the next round.": "Recolha sua última pilha sem agir: não há espaço na ilha. Isso encerra a rodada e paga os bônus de Descanso; Maya começa a próxima rodada.",
|
||||
"A complete round": "Uma rodada completa",
|
||||
"You played a whole round: Rest → Fish → Sell, then retrieved two unusable stacks. Your Rest bonus is now paid. Plan useful alternatives: a marker does not reserve an action, its resources or its place in your sequence.": "Você jogou uma rodada inteira: Descansar → Pescar → Vender, depois retirou duas pilhas inutilizáveis. Seu bônus de descanso foi pago. Planeje alternativas: um marcador não reserva uma ação, seus recursos ou sua posição na sequência.",
|
||||
"No tourists available this round.": "Nenhum turista disponível nesta rodada.",
|
||||
|
|
@ -946,5 +946,6 @@
|
|||
"No majority on this action.": "Sem maioria nesta ação.",
|
||||
"Wait for your turn.": "Aguarde sua vez.",
|
||||
"Choose an action to take back its markers without acting.": "Escolha uma ação para recolher os marcadores dela sem agir.",
|
||||
"Undo my move": "Desfazer jogada"
|
||||
"Undo my move": "Desfazer jogada",
|
||||
"Automatically retrieve markers when there is no choice": "Recolher marcadores automaticamente quando não há escolha"
|
||||
}
|
||||
|
|
|
|||
|
|
@ -889,7 +889,7 @@
|
|||
"Choose which stack to retrieve": "Alege ce teanc retragi",
|
||||
"Only Build and Draw remain. Both now have your majority, but the island has no space for either. Choose which stack to retrieve without acting; the game does not choose for you.": "Au rămas doar Construcția și Desenul. Ai majoritate la ambele, dar insula nu mai are loc. Alege ce teanc retragi fără acțiune; jocul nu alege în locul tău.",
|
||||
"Finish the round": "Încheie runda",
|
||||
"The last stack had no possible action, so it was retrieved automatically. Rest bonuses are now paid; Maya's First player token makes her start the next round.": "Ultimul teanc nu permitea nicio acțiune, așa că a fost retras automat. Bonusurile de Odihnă sunt acordate; jetonul Primul jucător al Mayei o face să înceapă runda următoare.",
|
||||
"Retrieve your last stack without acting: the island has no space for it. This finishes the round and pays Rest bonuses; Maya starts the next round.": "Retrage ultimul teanc fără să acționezi: insula nu mai are loc. Astfel se încheie runda și se acordă bonusurile de Odihnă; Maya începe runda următoare.",
|
||||
"A complete round": "O rundă completă",
|
||||
"You played a whole round: Rest → Fish → Sell, then retrieved two unusable stacks. Your Rest bonus is now paid. Plan useful alternatives: a marker does not reserve an action, its resources or its place in your sequence.": "Ai jucat o rundă întreagă: Odihnă → Pescuit → Vânzare, apoi ai retras două teancuri inutilizabile. Bonusul de Odihnă este acordat. Planifică alternative: un jeton nu rezervă o acțiune, resursele ei sau locul ei în secvență.",
|
||||
"No tourists available this round.": "Nu sunt turiști disponibili în această rundă.",
|
||||
|
|
@ -946,5 +946,6 @@
|
|||
"No majority on this action.": "Nicio majoritate la această acțiune.",
|
||||
"Wait for your turn.": "Așteaptă-ți rândul.",
|
||||
"Choose an action to take back its markers without acting.": "Alege o acțiune ale cărei marcaje le retragi fără a acționa.",
|
||||
"Undo my move": "Anulează mutarea"
|
||||
"Undo my move": "Anulează mutarea",
|
||||
"Automatically retrieve markers when there is no choice": "Retrage automat marcatorii când nu există altă opțiune"
|
||||
}
|
||||
|
|
|
|||
|
|
@ -889,7 +889,7 @@
|
|||
"Choose which stack to retrieve": "Выберите стопку для возврата",
|
||||
"Only Build and Draw remain. Both now have your majority, but the island has no space for either. Choose which stack to retrieve without acting; the game does not choose for you.": "Остались Строительство и Рисование. Теперь у вас большинство в обоих действиях, но на острове нет места. Выберите, какую стопку забрать без действия; игра не выбирает за вас.",
|
||||
"Finish the round": "Завершите раунд",
|
||||
"The last stack had no possible action, so it was retrieved automatically. Rest bonuses are now paid; Maya's First player token makes her start the next round.": "Последняя стопка не позволяла выполнить действие и была убрана автоматически. Бонусы Отдыха выплачены; жетон Первого игрока Майи позволит ей начать следующий раунд.",
|
||||
"Retrieve your last stack without acting: the island has no space for it. This finishes the round and pays Rest bonuses; Maya starts the next round.": "Заберите последнюю стопку без действия: на острове нет места. Это завершит раунд и принесёт бонусы Отдыха; следующий раунд начнёт Maya.",
|
||||
"A complete round": "Полный раунд",
|
||||
"You played a whole round: Rest → Fish → Sell, then retrieved two unusable stacks. Your Rest bonus is now paid. Plan useful alternatives: a marker does not reserve an action, its resources or its place in your sequence.": "Вы сыграли весь раунд: Отдых → Рыбалка → Продажа, затем забрали две бесполезные стопки. Бонус Отдыха выплачен. Планируйте альтернативы: маркер не резервирует действие, его ресурсы или место в вашей цепочке.",
|
||||
"No tourists available this round.": "В этом раунде нет доступных туристов.",
|
||||
|
|
@ -946,5 +946,6 @@
|
|||
"No majority on this action.": "Нет большинства на этом действии.",
|
||||
"Wait for your turn.": "Дождитесь своего хода.",
|
||||
"Choose an action to take back its markers without acting.": "Выберите действие, маркеры которого вы заберёте без выполнения действия.",
|
||||
"Undo my move": "Отменить ход"
|
||||
"Undo my move": "Отменить ход",
|
||||
"Automatically retrieve markers when there is no choice": "Автоматически забирать маркеры, когда нет выбора"
|
||||
}
|
||||
|
|
|
|||
|
|
@ -889,7 +889,7 @@
|
|||
"Choose which stack to retrieve": "Chọn chồng dấu để thu về",
|
||||
"Only Build and Draw remain. Both now have your majority, but the island has no space for either. Choose which stack to retrieve without acting; the game does not choose for you.": "Chỉ còn Xây và Vẽ. Bạn đã chiếm đa số ở cả hai, nhưng đảo hết chỗ. Hãy chọn chồng dấu để thu về mà không hành động; trò chơi không chọn thay bạn.",
|
||||
"Finish the round": "Kết thúc vòng",
|
||||
"The last stack had no possible action, so it was retrieved automatically. Rest bonuses are now paid; Maya's First player token makes her start the next round.": "Chồng dấu cuối không có hành động khả thi nên được thu tự động. Thưởng Nghỉ ngơi đã được trao; thẻ Người đi đầu của Maya giúp cô ấy bắt đầu vòng tiếp theo.",
|
||||
"Retrieve your last stack without acting: the island has no space for it. This finishes the round and pays Rest bonuses; Maya starts the next round.": "Thu hồi chồng dấu cuối cùng mà không hành động: đảo không còn chỗ. Việc này kết thúc vòng và trả thưởng Nghỉ ngơi; Maya bắt đầu vòng tiếp theo.",
|
||||
"A complete round": "Một vòng hoàn chỉnh",
|
||||
"You played a whole round: Rest → Fish → Sell, then retrieved two unusable stacks. Your Rest bonus is now paid. Plan useful alternatives: a marker does not reserve an action, its resources or its place in your sequence.": "Bạn đã chơi trọn vòng: Nghỉ ngơi → Câu cá → Bán, rồi thu hai chồng dấu không dùng được. Thưởng Nghỉ ngơi đã được trao. Hãy có phương án khác: dấu không giữ trước hành động, tài nguyên hay thứ tự thực hiện.",
|
||||
"No tourists available this round.": "Không còn khách du lịch trong vòng này.",
|
||||
|
|
@ -946,5 +946,6 @@
|
|||
"No majority on this action.": "Không chiếm đa số ở hành động này.",
|
||||
"Wait for your turn.": "Hãy chờ đến lượt bạn.",
|
||||
"Choose an action to take back its markers without acting.": "Chọn một hành động để thu hồi dấu của nó mà không thực hiện hành động.",
|
||||
"Undo my move": "Hoàn tác nước đi"
|
||||
"Undo my move": "Hoàn tác nước đi",
|
||||
"Automatically retrieve markers when there is no choice": "Tự động thu hồi dấu khi không có lựa chọn"
|
||||
}
|
||||
|
|
|
|||
|
|
@ -889,7 +889,7 @@
|
|||
"Choose which stack to retrieve": "選擇要收回哪堆標記",
|
||||
"Only Build and Draw remain. Both now have your majority, but the island has no space for either. Choose which stack to retrieve without acting; the game does not choose for you.": "只剩建造和畫沙畫。這兩項現在都是你的標記最多,但島上已沒有空間。請自行選擇不執行行動就收回哪堆標記;遊戲不會替你選。",
|
||||
"Finish the round": "完成這個回合",
|
||||
"The last stack had no possible action, so it was retrieved automatically. Rest bonuses are now paid; Maya's First player token makes her start the next round.": "最後一堆標記沒有可執行的行動,因此自動收回。休息獎勵已發放;Maya 的起始玩家標記讓她開始下一回合。",
|
||||
"Retrieve your last stack without acting: the island has no space for it. This finishes the round and pays Rest bonuses; Maya starts the next round.": "不執行行動,收回最後一疊標記:島上已無空間。這會結束本輪並發放休息獎勵;Maya 將開始下一輪。",
|
||||
"A complete round": "一個完整回合",
|
||||
"You played a whole round: Rest → Fish → Sell, then retrieved two unusable stacks. Your Rest bonus is now paid. Plan useful alternatives: a marker does not reserve an action, its resources or its place in your sequence.": "你玩完了一整個回合:休息 → 捕魚 → 賣魚,接著收回兩堆無法使用的標記。休息獎勵已發放。規劃有用的替代方案:標記不會預留行動、資源或執行順序。",
|
||||
"No tourists available this round.": "本回合沒有可用的遊客。",
|
||||
|
|
@ -946,5 +946,6 @@
|
|||
"No majority on this action.": "此行動未取得多數。",
|
||||
"Wait for your turn.": "請等待輪到你。",
|
||||
"Choose an action to take back its markers without acting.": "選擇一個行動,收回其標記但不執行行動。",
|
||||
"Undo my move": "撤回我的行動"
|
||||
"Undo my move": "撤回我的行動",
|
||||
"Automatically retrieve markers when there is no choice": "無其他選擇時自動收回標記"
|
||||
}
|
||||
|
|
|
|||
|
|
@ -64,6 +64,12 @@ if (params.has("lesson")) {
|
|||
show();
|
||||
scheduleBots();
|
||||
},
|
||||
onSetting: (name, value) => {
|
||||
const p = hotseat ? state.actor : 0;
|
||||
state = engine.setPlayerSettings(state, p, { [name]: value });
|
||||
save();
|
||||
show();
|
||||
},
|
||||
onPreference: async (name, value) => {
|
||||
preferences[name] = value;
|
||||
localStorage.setItem("vanuatu-preferences", JSON.stringify(preferences));
|
||||
|
|
@ -87,6 +93,9 @@ if (params.has("lesson")) {
|
|||
localization.setState(state);
|
||||
const p = hotseat ? state.actor : 0;
|
||||
ui.setPlayer(p);
|
||||
ui.setSettings(
|
||||
Number.isInteger(p) ? engine.playerSettings(state, p) : null,
|
||||
);
|
||||
ui.render(engine.stripSecret(state, p));
|
||||
}
|
||||
function scheduleBots() {
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@ import * as E from "../engine/index.js";
|
|||
|
||||
export const fullRoundMetadata = {
|
||||
id: "full-round",
|
||||
version: 1,
|
||||
version: 2,
|
||||
title: "A round does not always go to plan",
|
||||
description:
|
||||
"Play a complete round: blocked actions, changing priorities and end-of-round bonuses.",
|
||||
|
|
@ -28,7 +28,7 @@ export const ROUND_LESSON = {
|
|||
retrieve:
|
||||
"Only Build and Draw remain. Both now have your majority, but the island has no space for either. Choose which stack to retrieve without acting; the game does not choose for you.",
|
||||
remaining:
|
||||
"The last stack had no possible action, so it was retrieved automatically. Rest bonuses are now paid; Maya's First player token makes her start the next round.",
|
||||
"Retrieve your last stack without acting: the island has no space for it. This finishes the round and pays Rest bonuses; Maya starts the next round.",
|
||||
done: "You played a whole round: Rest → Fish → Sell, then retrieved two unusable stacks. Your Rest bonus is now paid. Plan useful alternatives: a marker does not reserve an action, its resources or its place in your sequence.",
|
||||
};
|
||||
|
||||
|
|
@ -182,13 +182,15 @@ export function createFullRoundChapter(prepared) {
|
|||
id: "retrieve",
|
||||
title: "Choose which stack to retrieve",
|
||||
text: ROUND_LESSON.retrieve,
|
||||
complete: (s) => s.round === 2,
|
||||
complete: (s) => count(s) === 1,
|
||||
validateMove: retrieve,
|
||||
},
|
||||
{
|
||||
id: "last-stack",
|
||||
title: "Finish the round",
|
||||
text: ROUND_LESSON.remaining,
|
||||
complete: (s) => s.round === 2,
|
||||
validateMove: retrieve,
|
||||
},
|
||||
],
|
||||
completion: { title: "A complete round", text: ROUND_LESSON.done },
|
||||
|
|
|
|||
12
viewer/ui.js
12
viewer/ui.js
|
|
@ -102,6 +102,7 @@ export function mountGame(target, options = {}) {
|
|||
hostedLocale = false,
|
||||
colorBlind = false,
|
||||
sound = false,
|
||||
autoRetrieve = false,
|
||||
undoAvailable = false,
|
||||
revision,
|
||||
stateKey,
|
||||
|
|
@ -808,7 +809,7 @@ export function mountGame(target, options = {}) {
|
|||
}
|
||||
if ("help" in d) {
|
||||
showDialog(
|
||||
`<h2>${t("help")}</h2><div class="preferences"><label><input type="checkbox" data-pref="colorBlind" ${colorBlind ? "checked" : ""}>${t("colorBlind")}</label><label><input type="checkbox" data-pref="sound" ${sound ? "checked" : ""}>${t("sound")}</label>${
|
||||
`<h2>${t("help")}</h2><div class="preferences"><label><input type="checkbox" data-pref="colorBlind" ${colorBlind ? "checked" : ""}>${t("colorBlind")}</label><label><input type="checkbox" data-pref="sound" ${sound ? "checked" : ""}>${t("sound")}</label>${options.onSetting && Number.isInteger(player) && !analysis ? `<label><input type="checkbox" data-setting="autoRetrieve" ${autoRetrieve ? "checked" : ""}>${esc(translateText("Automatically retrieve markers when there is no choice", lang))}</label>` : ""}${
|
||||
hostedLocale
|
||||
? ""
|
||||
: `<select data-language aria-label="Language">${Object.entries(
|
||||
|
|
@ -877,6 +878,10 @@ export function mountGame(target, options = {}) {
|
|||
options.onPreference?.(key, value);
|
||||
render();
|
||||
}
|
||||
if (e.target.matches("[data-setting]")) {
|
||||
options.onSetting?.(e.target.dataset.setting, e.target.checked);
|
||||
e.target.checked = autoRetrieve;
|
||||
}
|
||||
if (e.target.matches("[data-language]")) {
|
||||
lang = e.target.value;
|
||||
t = translator(lang);
|
||||
|
|
@ -957,6 +962,11 @@ export function mountGame(target, options = {}) {
|
|||
undoAvailable = v;
|
||||
render();
|
||||
},
|
||||
setSettings(settings) {
|
||||
autoRetrieve = settings?.autoRetrieve === true;
|
||||
const checkbox = dialog.querySelector('[data-setting="autoRetrieve"]');
|
||||
if (checkbox) checkbox.checked = autoRetrieve;
|
||||
},
|
||||
setPreferences(p) {
|
||||
const previous = `${analysis}:${colorBlind}:${lang}:${playerColors.join()}:${JSON.stringify(appearance)}`;
|
||||
appearance = p.bgs ?? {};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue