Skip to content

Mark I RECRUITED done once you log a card, like the Location - #100

Merged
asilachev merged 1 commit into
masterfrom
99-recruit-tile-done
Nov 1, 2026
Merged

asilachev merged 1 commit into
masterfrom
99-recruit-tile-done

Conversation

@asilachev

Copy link
Copy Markdown
Owner

Closes #99

After you log a card, I RECRUITED now behaves like I TOOK A LOCATION:

Before logging After logging this round
Card tile I RECRUITED · log the card CARD LOGGED · one per turn: gold, with a check
Location tile I TOOK A LOCATION · +3 points LOCATION TAKEN · +3 · one per turn (unchanged)
  • Once used, the tile stays done for the rest of the turn. You recruit at most one card per turn (docs/rules.md → A turn: "do exactly one of these").
  • Undo takes the card back and frees the tile. The next round starts with the tile ready again.
  • The hard variant gets the same done state on its full-width tile.
  • The engine is unchanged. It still accepts a second card in a round, so saved games that logged one keep loading. Adding the limit to the engine would make those saves fail to replay, and the app would discard them as corrupt.
  • New texts table.recruitedDone / table.recruitedDoneSub in all five languages, worded like each language's Location texts: CARD LOGGED, КАРТА ЗАПИСАНА, КАРТА УПИСАНА, CARTA ANOTADA, KARTE EINGETRAGEN.

Docs and design

  • docs/design.md → Your turn and the guide's "Your turn" describe the done tiles and Undo.
  • Pencil: the card tile in frames 4.1 (card logged) and 4.3 (card and Location logged) is now gold with CARD LOGGED. Before, both frames showed the card in the Logged line next to a plain tile.

Testing

  • npm run lint, format:check, typecheck and test pass: 178 tests, 3 new in Steps.test.tsx.
    • The card tile turns done and can't be tapped once a card is logged, like the Location tile.
    • It's ready again in the next round.
    • The full-width tile in the hard variant does the same.
  • Checked on the production build at 360 px in English, German, Russian, Serbian and Spanish, plus the hard variant in German and Russian. Nothing overflows. The longest title, KARTE EINGETRAGEN, wraps to two lines like ORT EINGETRAGEN, and both tiles keep the same height.
  • The guide screenshots don't change: round 7 in 08-table and 09-log-card has no card logged.

🤖 Generated with Claude Code

The card tile turns gold with a check, CARD LOGGED · one per turn, and
stays done for the turn, as the Location tile does. Undo frees it. The
engine is unchanged, so saves with two cards in a round still load.
@vercel

vercel Bot commented Nov 1, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
splendor-marvel-automa Ready Ready Preview Nov 1, 2026 5:19pm UTC

@asilachev
asilachev merged commit cb0e383 into master Nov 1, 2026
7 checks passed
@asilachev
asilachev deleted the 99-recruit-tile-done branch November 1, 2026 17:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Mark I RECRUITED done once you log a card, like the Location tile

1 participant