Formal Specification
Trešeta (Adriatic Point-Trick Card Game) — Formal Specification
Croatia · card · Confidence: low
← Back to game pageImplementation 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 ( with teams and ).
- **Turn model:** 10 sequential trick rounds (4 cards per trick).
## Formal rules
R1. Deck Structure:
- 40 Triestine cards in 4 suits (), 10 cards per suit.
- Trick-taking rank hierarchy (highest to lowest): .
- Card values: Ace () = 1.0 point; = 1/3 point each; = 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 : +4 points.
- 3 of a kind in : +3 points.
- *Napolitana* (Ace, 2, 3 in same suit): +3 points.
- Bonus points credited immediately to team score .
R4. Trick Play Constraints:
- Lead agent plays any card from hand.
- Subsequent agents MUST follow suit of if holding any card of that suit in hand.
- If void in suit of , 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 ().
- 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 = . Total available regular hand points = 11.
- Match runs until a team achieves points.
- [gap-fill] If both teams cross 41 points in the same hand, the team with the higher point total wins; if tied , additional hands are dealt until a point lead is established.
## Edge cases
- Tie at the end condition: Tied scores 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 ( 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 JSONCite 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}
}