Skip to main content
Formal Specification

Counter and Mate — Formal Specification

Luxembourg · card · Confidence: high

← Back to game page

Implementation Suitability

Suitability: engine-readyFidelity: directGap-fills: 2
# Konter a Matt — AI-optimized specification ## General idea A four-player partnership trick-taking card game played with a 24-card deck where cards carry specific point values totaling 40 points per deal. The unique strategic dynamic arises from three permanent trumps (Queen of Spades, Queen of Hearts, Queen of Diamonds) that belong to the trump suit regardless of what suit is chosen, enabling powerful trump manipulation in 6-trick hands. ## Formal model - **Abstraction taken:** Direct conversion; card deals, trick-play, and point sums are discrete operations. - **Player/agent count:** 4 agents arranged as Teams TA={0,2} and TB={1,3}. - **Turn model:** Strictly sequential, counter-clockwise trick rotation. ## Formal rules R1. Setup: A standard 24-card deck is shuffled and dealt: each player receives 6 cards. R2. Trump determination: [gap-fill] The trump suit is determined by turning the bottom card of the deck or rotating trump selection among players sequentially. R3. Card hierarchy and values: - Card values: A=4,K=3,Q=2,J=1,10=0,9=0 (Total pool = 40 points). - Trump hierarchy: Trump Ace > Queen of Spades (Matt) > Queen of Hearts (Konter) > Queen of Diamonds (Konter) > Trump King > Trump Jack > Trump 10 > Trump 9 > (Trump Queen of Clubs if clubs are trump). - Non-trump suits: Ace > King > Queen (if not a permanent trump) > Jack > 10 > 9. R4. Lead: Player to the dealer's right plays the first card of the trick. R5. Trick following rules: - If a non-trump suit is led, players must follow suit if they hold a non-trump card of that suit. - If unable to follow suit, a player must play a trump card if they possess one; if they hold no trumps, they may discard any card. - If a trump is led, players must play a trump card (including the Matt and Konters). R6. Trick winner: Highest trump played wins the trick; if no trumps were played, the highest card of the suit led wins. The winner captures the 4 cards and leads the next trick. R7. Deal resolution: After 6 tricks, Team TA scores PA=∑values of cards won by 0 and 2. Team TB scores PB=40−PA. R8. Win condition: If PA≥21, Team A wins the hand. If PB≥21, Team B wins. If PA=PB=20, the hand is a draw (*Stänner*). R9. [gap-fill] Match termination: First team to accumulate 5 winning hands wins the match. ## Edge cases - Tie at the end condition: If card points in a hand are 20-20, hand is recorded as a draw (*Stänner*) with match score unchanged. - A player with no legal move: Not applicable — every player holds at least one card until hand completion, and the legal card set is non-empty. - Repetition / cycles: Not applicable — exactly 6 tricks of 4 cards consume the entire 24-card deck; no cycles possible. - Simultaneous claims on the same resource or position: Not applicable — turns and trick resolutions are strictly sequential. - Player elimination mid-round; turn order repair: Not applicable — all 4 players remain active through all 6 tricks. - Resource exhaustion: Exactly 24 cards are dealt and played to completion each hand. - Termination guarantee: Hand provably terminates in exactly 24 discrete card actions (6 tricks × 4 cards). ## State representation - Persistent state: Match scores for Team A and Team B, dealer index, cumulative draw counter. - Per-hand hidden state: Hand arrays H0,H1,H2,H3 (each agent observes only their own hand). - Per-trick ephemeral state: Lead suit, current trick cards [c0,c1,…], current turn index, trick count (1..6). - Observable information: Discard/trick history, current trick cards played, current score, public trump suit. ## Action space - `play_card(card_id)`: Select one legal card from current hand satisfying R5. ## Playability notes - Single-player-vs-AI: Natural — 1 human player paired with 1 AI agent against 2 AI opponents with perfect rule compliance and standard partnership heuristic evaluation. - Group games (n>4): Fixed 4-player game; can be reduced to 2 players by giving each player two alternating hands with open/closed information layers. - Physical-skill games: Not applicable — purely discrete imperfect-information card strategy. - What is lost: The social table banter, eye signaling, and slam of cards on café tables. ## Implementation hints Extremely clean discrete implementation. Card point evaluation is simple integer math. First milestone: build 24-card deal and trick-following validation with Matt/Konter special suit membership logic.

Download as JSON

Download the full game corpus entry for this game as structured JSON.

Download JSON
Cite this page

Counter and Mate (Luxembourg). (n.d.). Games of Countries. https://gamesofcountries.com/games/lu-luxembourg/konter-a-matt

@misc{gamesofcountries-lu-luxembourg-konter-a-matt,
  title = {Counter and Mate (Luxembourg)},
  year = {n.d.},
  publisher = {Games of Countries},
  url = {https://gamesofcountries.com/games/lu-luxembourg/konter-a-matt}
}