fix: lesbare Ziel-Felder im Gold-Zustand, natürlicherer Hinweistext

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Lukas Müllner 2026-11-13 17:06:18 +01:00
parent 7e79bb84bb
commit 0ce4ab9147
3 changed files with 10 additions and 7 deletions

View file

@ -199,4 +199,6 @@ Abgabe: **9. Dezember 2026, 03:00 MEZ**. Eingereicht wird in „Best Daily Game
- `devvit playtest` trägt `dev.subreddit` (`ninelands_game_dev`) in `devvit.json` ein.
- Rückmeldung Besitzer: Bei „One farm per land“ bleiben am Ende oft nur Ritter, die Gold kosten. Darum prüft der
Client nach jedem Zug, ob noch ein Zug Gold bringt (`gainLeft`, alle gültigen Züge per `preview`, < 1 ms). Wenn
nicht: Hinweis „No move left gains gold – end the game to keep what you have.“ und „End game“ leuchtet golden.
nicht: Hinweis „None of your remaining moves earns gold – end the game to keep your gold.“ und „End game“ leuchtet golden.
- Fix: Im goldenen Ziel-Feld waren Stern und „/ Ziel“ ebenfalls gold (Gold auf Gold, unsichtbar) – beim Umsortieren
der CSS-Regeln für Biome (`noDescendingSpecificity`) waren die Deklarationen vertauscht. Jetzt alles in Tinte.

View file

@ -44,14 +44,16 @@
}
.goal-star {
color: var(--px-ink);
color: var(--px-gold);
font-family: var(--font-pixel);
margin-right: 0.2rem;
}
.goal .of {
color: var(--px-parchment-dim);
}
/* Erreichtes Ziel: golden wie im Hauptspiel */
/* Erreichtes Ziel: golden wie im Hauptspiel (goal-chip.done) – alles in Tinte, sonst Gold auf Gold */
.goal.done {
color: var(--px-ink);
background: var(--px-gold);
@ -60,9 +62,7 @@
.goal.done .of,
.goal.done .goal-star {
color: var(--px-gold);
font-family: var(--font-pixel);
margin-right: 0.2rem;
color: var(--px-ink);
}
.law {

View file

@ -114,7 +114,8 @@ export const HINTS = {
general:
'Ore ⛰ and herbs 🌿 pay 20 gold. Knights pay double. Keep going until no move is left.',
touch: 'Tap again to place.',
noGain: 'No move left gains gold – end the game to keep what you have.',
noGain:
'None of your remaining moves earns gold – end the game to keep your gold.',
allStars: 'All 3 stars! Keep going for more gold – or end the game.',
} as const