Skip to main content
Formal Specification

Trešeta (Adriatic Point-Trick Card Game) — Formal Specification

Croatia · card · Confidence: low

← Back to game page

Implementation Suitability

Suitability: engine-readyFidelity: directGap-fills: 1
# Trešeta — AI-optimized specification ## General idea A 40-card trick-taking game played without trumps, where all cards are dealt at the start. Strict suit-following constraints, inverted rank hierarchies (3 > 2 > 1 > K > C > F > 7..4), fractional point counting, opening combination declarations (*akuža*), and an absolute communication ban govern strategy. ## Formal model - **Abstraction taken:** None required; the traditional game forms a fully discrete mathematical system. - **Player/agent count:** 4 agents (A0,A1,A2,A3 with teams T0={A0,A2} and T1={A1,A3}). - **Turn model:** 10 sequential trick rounds (4 cards per trick). ## Formal rules R1. Deck Structure: - 40 Triestine cards in 4 suits (S∈{ŠPADE,KOPE,BAŠTUNI,DINARI}), 10 cards per suit. - Trick-taking rank hierarchy (highest to lowest): 3>2>1>K>C>F>7>6>5>4. - Card values: Ace (1) = 1.0 point; {3,2,K,C,F} = 1/3 point each; {7,6,5,4} = 0 points. R2. Deal: - Exactly 10 cards dealt to each agent. No draw deck, no trump suit. R3. Declarations (*Akuža*): - On trick 1, agents declare combination bonuses: - 4 of a kind in {3,2,1}: +4 points. - 3 of a kind in {3,2,1}: +3 points. - *Napolitana* (Ace, 2, 3 in same suit): +3 points. - Bonus points credited immediately to team score S(T). R4. Trick Play Constraints: - Lead agent plays any card clead from hand. - Subsequent agents MUST follow suit of clead if holding any card of that suit in hand. - If void in suit of clead, agent may play any card of any other suit. R5. Trick Winner Resolution: - The trick winner is the agent who played the highest-ranking card of the suit led (clead.suit). - Off-suit cards cannot win the trick. - Trick winner captures all 4 cards and leads the next trick. R6. Hand Scoring and Match Victory: - After 10 tricks, team card point total = ∑Aces+⌊∑Figures, 3s, 2s3⌋+𝕀(won 10th trick). Total available regular hand points = 11. - Match runs until a team achieves S(T)≥41 points. - [gap-fill] If both teams cross 41 points in the same hand, the team with the higher point total wins; if tied ≥41, additional hands are dealt until a point lead is established. ## Edge cases - Tie at the end condition: Tied scores ≥41 require extra deal rounds until broken. - A player with no legal move: Hand size is 10 at trick 1, decreasing by 1 card per trick; legal move set is never empty. - Repetition / cycles: Impossible; hands strictly deplete per trick. - Simultaneous claims on the same resource or position: Card plays and trick resolutions are strictly sequential. - Player elimination mid-round; turn order repair: Not applicable (all 4 agents play all 10 tricks). - Resource exhaustion: Exactly 40 cards consumed across 10 tricks per hand. - Termination guarantee: Strictly positive point accumulation (≥11 points per hand) guarantees reaching 41 points in at most 4 hands. ## State representation - Persistent state: `match_scores: tuple[int, int]`, `hand_number: int`, `dealer_id: int`. - Ephemeral hand state: `hands: list[list[Card]]`, `current_trick: list[tuple[int, Card]]`, `captured_cards: list[list[Card]]`, `trick_number: int`. - Observable information: Private hand per agent; played table cards, won tricks, declared combinations, and match scores are public. ## Action space - `declare_akuza(combination_type: enum)`: Opening declaration action. - `play_card(card: Card)`: Play card action (filtered by suit-following validator). ## Playability notes - Single-player-vs-AI: Engine-ready; standard imperfect-information trick-taking game tree search (MCTS / Alpha-Beta with determinization). - Group games (n>4): Natively designed for 4 agents (2v2). - Physical-skill games: Not applicable (discrete strategy game). - What is lost: Silent tension between partners, heavy card slaps on wooden tavern tables. ## Implementation hints Direct implementation. Model 40 cards as integers `suit * 10 + rank`. First milestone: implement suit-following validator, trick resolution, and fractional point tallying for 1 hand before wrapping in a 41-point match loop.

Download as JSON

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

Download JSON
Cite this page

Trešeta (Adriatic Point-Trick Card Game) (Croatia). (n.d.). Games of Countries. https://gamesofcountries.com/games/hr-croatia/treseta

@misc{gamesofcountries-hr-croatia-treseta,
  title = {Trešeta (Adriatic Point-Trick Card Game) (Croatia)},
  year = {n.d.},
  publisher = {Games of Countries},
  url = {https://gamesofcountries.com/games/hr-croatia/treseta}
}