From 2ff827261a821fbc7534a79e663d41a3106fae00 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lukas=20M=C3=BCllner?= Date: Sat, 14 Nov 2026 12:31:05 +0100 Subject: [PATCH] fix: Gold gibt das Feld unter der Figur, nicht jedes beanspruchte Feld Co-Authored-By: Claude Opus 5.5 --- PLAN.md | 9 +++++++++ README.md | 3 ++- docs/community-posts.md | 4 ++-- scripts/capture/community.ts | 4 ++-- src/client/game.ts | 2 +- 5 files changed, 16 insertions(+), 6 deletions(-) diff --git a/PLAN.md b/PLAN.md index 51cef53..aa9d5a1 100644 --- a/PLAN.md +++ b/PLAN.md @@ -333,3 +333,12 @@ Abgabe: **9. Dezember 2026, 03:00 MEZ**. Eingereicht wird in „Best Daily Game „Dec 1 to Jan 6“. Die Devpost-Überschriften („How we built it“ usw.) sind fest vorgegeben und bleiben. - Deutsche interne Doku und Code-Kommentare bleiben unverändert. Prüfen: `grep -rn '[–—]' src/client src/shared src/server scripts/capture | grep -vE ':\s*(//|\*)'` muss leer sein. + +### 2026-11-14 – Fehler in den Regeltexten: Gold gibt das Feld unter der Figur + +- Beim Abgleich mit dem Leitfaden des Hauptspiels gefunden: Gold bringt **nur das Feld, auf dem eine Figur steht** + (`Game.resolveYield`: Weide 5/7, Erz/Kräuter 20, Ritter ×2), **nicht** jedes beanspruchte Feld. Falsch stand es im + Hilfe-Fenster des Spiels, in der README, im Community-Post „How to play“ und auf dessen Bild. Alles korrigiert, das + Bild neu erzeugt. „7 next to a lake“ heißt richtig „7 in a land with a lake“. +- Lehre: Regeltexte nie aus dem Gedächtnis schreiben, sondern gegen die Engine (`src/engine/core/Game.ts`, + `units.ts`, `WorldRules.ts`) oder `hivedoku/guide/chapters/` prüfen. diff --git a/README.md b/README.md index 6db0572..281489d 100644 --- a/README.md +++ b/README.md @@ -22,7 +22,8 @@ _Reddit Game of the Day 2026_ hackathon. | **Knight** | 10 | straight lines, reach 2, stops at the land border | must touch your land in the same land · **2× yield** | | **Bishop** | 15 | diagonal lines, reach 2, crosses borders | must touch your land | -4. **Earn gold.** Ore (mountains) and herbs (moor) pay 20 gold, every claimed pasture cell 5 (7 in a land with a lake). +4. **Earn gold.** Each piece earns gold for the cell it stands on: ore (mountains) and herbs (moor) 20, pasture 5 (7 in + a land with a lake). Knights pay double. Building costs are deducted. 5. **Rule lands.** The board is split into 9 lands; you rule a land once you claim at least half of it. 6. **Finish.** The game ends when no move is left, or whenever you press **End game** (tap twice). If no remaining diff --git a/docs/community-posts.md b/docs/community-posts.md index e78a1b5..8ecd208 100644 --- a/docs/community-posts.md +++ b/docs/community-posts.md @@ -19,8 +19,8 @@ Every day at 00:01 UTC a new 9×9 map appears as a post here. Everyone plays the - **Knight** (10 gold): 2 cells straight, stays in its land, pays double. - **Bishop** (15 gold): 2 cells diagonally, also across borders. -Claimed cells pay gold: ore and herbs 20, pasture 5 (7 next to a lake). Nothing can be built on claimed land, so -plan where you build. You rule a land when you claim at least half of it. +Each piece earns gold for the cell it stands on: ore and herbs 20, pasture 5 (7 in a land with a lake). Nothing can +be built on claimed land, so plan where you build. You rule a land when you hold at least half of it. **Stars:** ★ reach the gold goal, ★ rule the lands goal, ★ both in one game. **Law of the day:** each map has one special rule, e.g. "Costly knights". diff --git a/scripts/capture/community.ts b/scripts/capture/community.ts index 72c7c27..8ba5085 100644 --- a/scripts/capture/community.ts +++ b/scripts/capture/community.ts @@ -109,7 +109,7 @@ function howto(): void { ), h( 'section.card', - h('h2', 'Claimed cells pay gold'), + h('h2', 'Gold for the cell you build on'), h( 'div.row', h('span.gold-item', img('ore'), 'Ore ', h('b', '20')), @@ -119,7 +119,7 @@ function howto(): void { img('grass0'), 'Pasture ', h('b', '5'), - h('small', ' (7 by a lake)'), + h('small', ' (7 in a lake land)'), ), ), h( diff --git a/src/client/game.ts b/src/client/game.ts index 28bc512..ecd7762 100644 --- a/src/client/game.ts +++ b/src/client/game.ts @@ -531,7 +531,7 @@ function showRules(): void { ), h( 'p', - 'Gold: ore and herbs 20, pasture 5 per claimed cell (7 with a lake). You rule a land when you claim at least half of it.', + 'Gold: each piece earns for the cell it stands on: ore and herbs 20, pasture 5 (7 in a land with a lake), knights double. You rule a land when you hold at least half of it.', ), h( 'p',