Skip to main content
Formal Specification

Slovenian Tarock — Formal Specification

Slovenia · card · Confidence: low

← Back to game page

Implementation Suitability

Suitability: engine-readyFidelity: directGap-fills: 1
# Slovenski tarok — AI-optimized specification ## General idea A 54-card trick-taking game featuring 22 permanent trumps (*Taroks*) and 32 suited cards. A bidding phase establishes contract level and declarer status; the declarer calls a King to form a hidden partnership, with strict following rules and fractional 1/3-point trick counting determining the outcome. ## Formal model - **Abstraction taken:** None required; traditional rules form a fully discrete, complete mathematical system. - **Player/agent count:** 4 agents (A0,A1,A2,A3). - **Turn model:** Sequential clockwise bidding, followed by 12 discrete sequential trick rounds (4 cards per trick). ## Formal rules R1. Deck Structure: - 54 unique cards: 22 Taroks (Trumps T1…T21,Škis), 32 Suit cards (4 suits × 8 ranks). - Point values: Trula (T1,T21,Škis) = 5, Kings = 5, Queens = 4, Knights = 3, Valets = 2, all other cards = 1. R2. Deal: - 6 cards to Talon T; 12 cards to each agent. R3. Bidding Phase: - Agents bid in clockwise order from rank ladder: `PASS < TROJE < DVOJE < ENA < SOLO_3 < SOLO_2 < SOLO_1 < SOLO_BREZ < BERAČ < VALAT`. - Highest bidder becomes Declarer Adec. R4. King Calling & Talon Exchange: - In contracts with talon exchange, Adec calls a suit King Kcalled. The holder of Kcalled is the secret Partner Apart. - Adec reveals talon, takes permitted cards, and discards an equal number of non-trump/non-King cards to their scoring pile. R5. Trick Play Execution: - 12 tricks played. Lead agent plays any card clead. - Subsequent agents must: 1. Follow suit of clead if able. 2. If void of suit, must play a Tarok. 3. If void of suit and Taroks, may play any card. - Highest Tarok wins trick. If no Tarok played, highest card of the led suit wins trick. Trick winner leads next trick. R6. Scoring: - Total points in deck = 70. Tricks evaluated in triplets: score = (∑card values)−2. - Standard contract win condition: Declarer team points ≥36. - Point gains/losses distributed per official TARZS tournament scoring table. - [gap-fill] Match runs for a fixed rubber of 16 deals; agent with highest aggregate tournament points wins. ## Edge cases - Tie at the end condition: Exactly 35 points results in a loss for the declarer side (threshold is 36). - A player with no legal move: Invariant: every agent holds exactly 12 cards at trick 1, and 1 card is played per trick; legal card set is never empty. - Repetition / cycles: Impossible; hands strictly deplete by 1 card per trick over exactly 12 tricks. - Simultaneous claims on the same resource or position: Not applicable; turns and card plays are strictly sequential. - Player elimination mid-round; turn order repair: Not applicable; all 4 agents play all 12 tricks. - Resource exhaustion: Exactly 12 tricks consume all 48 player cards; talon is consumed at bidding. - Termination guarantee: Exact 12-trick finite horizon guarantees round termination. ## State representation - Persistent state: `match_scores: list[int]`, `deal_index: int`, `dealer_id: int`. - Ephemeral round state: `hands: list[list[Card]]`, `talon: list[Card]`, `contract: enum`, `declarer_id: int`, `called_king: Optional[Card]`, `partner_id: Optional[int]`, `partner_revealed: bool`, `current_trick: list[tuple[int, Card]]`, `tricks_won: list[list[Card]]`. - Observable information: Private hand per agent; called King is public; partner identity is hidden until Kcalled is played; cards played in tricks and talon reveals are public. ## Action space - `bid(contract_level: enum)`: Bidding choice. - `call_king(suit: enum)`: Partner selection. - `exchange_talon(take_indices: list[int], discard_indices: list[int])`: Talon swap. - `play_card(card: Card)`: Trick play action (filtered by legality constraints). ## Playability notes - Single-player-vs-AI: Engine-ready; standard imperfect-information trick-taking game tree search (MCTS / ISMCTS). - Group games (n>4): Natively designed for 4 agents (or 3 agents in *Tarok v tri*). - Physical-skill games: Not applicable (discrete strategy game). - What is lost: Physical card manipulation, subtle table pauses during King revelation. ## Implementation hints Direct implementation. Model cards as integer tuples `(suit, rank, points)`. Enforce trick-following logic in a single validator function. First milestone: 4-agent deterministic trick simulation with random bidding before adding MCTS agents.

Download as JSON

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

Download JSON
Cite this page

Slovenian Tarock (Slovenia). (n.d.). Games of Countries. https://gamesofcountries.com/games/si-slovenia/slovenski-tarok

@misc{gamesofcountries-si-slovenia-slovenski-tarok,
  title = {Slovenian Tarock (Slovenia)},
  year = {n.d.},
  publisher = {Games of Countries},
  url = {https://gamesofcountries.com/games/si-slovenia/slovenski-tarok}
}