Katan: open trade offers and counter-offers #6

Merged
devadmin merged 1 commits from feature/catan-open-trades-counter into dev 2026-10-15 14:32:57 -06:00
Owner
  • Offer to everyone or one player; asked in seat order, first accept wins
  • Accept / decline / counter; offerer picks among counters or says no deal
  • AI: fixed inverted accept test, picks best counter (never counters itself)
  • No reply timer or cancel (engine has a single acting seat) — noted in docs

🤖 Generated with Claude Code

- Offer to everyone or one player; asked in seat order, first accept wins - Accept / decline / counter; offerer picks among counters or says no deal - AI: fixed inverted accept test, picks best counter (never counters itself) - No reply timer or cancel (engine has a single acting seat) — noted in docs 🤖 Generated with [Claude Code](https://claude.com/claude-code)
devadmin added 1 commit 2026-10-15 14:24:55 -06:00
Katan: open trade offers and counter-offers
CI / Deploy to Cloudflare Pages (pull_request) Skipped
CI / Build and check (pull_request) Successful in 7m28s
d7d3c8a3ed
- Offers can go to the whole table (asked in seat order, empty hands skipped) or one seat.
- The asked seat may accept (trade happens at once), decline, or counter with new terms.
- If nobody accepts and there are counters, the offerer takes one or turns them all down (new TRADE_COUNTERS phase).
- AI: fixes an inverted accept test (it weighed what it gives against what it gets backwards), picks the best counter.
- UI: Everyone option in the offer dialog, Counter… in the reply dialog, a counter-choice dialog.
- Tests and docs updated.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_018njn2eMPAYqAoE49hGRg2X
devadmin merged commit 2d85df0de0 into dev 2026-10-15 14:32:57 -06:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: devadmin/ProLibertateGames#6