Skip to main content
Formal Specification

Zole (Latvian Solo) — Formal Specification

Latvia · card · Confidence: high

← Back to game page

Implementation Suitability

Suitability: engine-readyFidelity: directGap-fills: 1
# Zolīte — AI-optimized specification ## General idea The national trick-taking card game of Latvia. Played with a specialized 26-card deck where all 4 Queens, all 4 Jacks, and the entire Diamond suit form a permanent 14-card trump suit. A single declarer plays solo against two cooperating defenders to capture at least 61 of the 120 total card points. ## Formal model - **Abstraction taken:** None; the traditional rules already form a complete, discrete, deterministic trick-taking game system once the 26-card deck is shuffled and dealt. - **Player/agent count:** 3 active agents (Player 1, Player 2, Player 3; Player 0 may sit out as dealer in 4-player games). - **Turn model:** Sequential bidding phase followed by 8 sequential trick-taking rounds (clockwise rotation). ## Formal rules R1. Deck: Exactly 26 cards: - Permanent Trumps (14 cards in descending rank): Q♣, Q♠, Q♥, Q♦, J♣, J♠, J♥, J♦, A♦, 10♦, K♦, 9♦, 8♦, 7♦. - Side suits (Clubs, Spades, Hearts; 4 cards each in descending rank): Ace, 10, King, 9. - Card point values (Sum = 120): Ace = 11, 10 = 10, King = 4, Queen = 3, Jack = 2; 9, 8, 7 = 0. R2. Deal: Dealer distributes 8 cards to each of the 3 players; 2 cards form the face-down blind (*galds*). R3. Bidding: In clockwise order from left of dealer, each agent submits a contract declaration: - `PASS` - `LIELAIS`: Declarer takes the 2 blind cards, adds to hand, discards 2 cards face-down into private score pile, and plays solo. - `ZOLE`: Declarer plays solo without taking blind (blind goes to defenders' score pile at hand end). - `MAZA_ZOLE`: Solo contract with no trumps (all suits rank A, K, Q, J, 10, 9, 8, 7; no point values); objective is to take exactly 0 tricks. - Higher contract overrules lower (`ZOLE` > `LIELAIS`). If all pass, resolve as `Pule` / redeal [gap-fill]. R4. Trick Play: - Lead player plays 1 card from hand. - Subsequent players must follow the lead suit (Trumps count as a single unified 14-card suit). - If void in the lead suit, any card may be played (ruff with trump or discard side-suit). - The trick is won by the highest trump, or if no trumps were played, by the highest card of the lead suit. - Winner collects trick into team scoring pile and leads the next trick. R5. Hand Scoring: - For `LIELAIS` / `ZOLE`: Declarer tallies card points in tricks + discards. - If points ≥61: Declarer wins. Base payout: +2 pts per defender for `LIELAIS`, +5 pts per defender for `ZOLE` (+bonus for ≥91 points or 8 tricks). - If points ≤60: Declarer loses and pays -4 pts per defender for `LIELAIS`, -6 pts per defender for `ZOLE`. - For `MAZA_ZOLE`: If declarer takes 0 tricks, +6 pts per defender; if ≥1 trick taken, immediately pays -7 pts per defender. ## Edge cases - Tie at the end condition: In trick play, card ranks are strictly ordered (no two cards have equal rank). If card points tie at 60–60, declarer fails (needs ≥61) and defenders win. - A player with no legal move: Not applicable; every hand of 8 tricks exhaustively plays all legal cards in hand. - Repetition / cycles: Impossible; hand size strictly decreases by 1 card per trick, terminating in exactly 8 tricks. - Simultaneous claims on the same resource or position: Turns and tricks are strictly sequential clockwise. - Player elimination mid-round; turn order repair: No elimination during a hand; all 3 players play all 8 tricks. - Resource exhaustion: Deck consists of exactly 26 cards, cleanly exhausted over the deal and play. - Termination guarantee: Trivially guaranteed by finite hand size (8 tricks) and contract goal. ## State representation - Persistent state: Match points ledger for each player, dealer index, accumulated *pule* penalty pool count. - Per-turn ephemeral state: Cards in hand per player (private), blind cards (hidden), current contract, trick pile (public), trick leader, current trick cards, card points captured per side. - Observable information: Private hand observed only by owner; table tricks, contract, discards count, and match scores are common knowledge. ## Action space - `bid(contract_type)`: In bidding phase (`PASS`, `LIELAIS`, `ZOLE`, `MAZA_ZOLE`). - `discard(card_1, card_2)`: In `LIELAIS` contract setup. - `play_card(card)`: In trick phase, subject to mandatory suit-following constraints. ## Playability notes - Single-player-vs-AI: Ideal; a classic trick-taking game that runs naturally with 1 human and 2 AI agents. - Group games: 3 active players (or 4 with rotating dealer). - Physical-skill games: Purely strategic and probabilistic card play. - What is lost: The social banter and table psychology of Latvian card clubs (*zolmaņu valoda*). ## Implementation hints Standard trick-taking card engine. Milestone 1: Implement 26-card deck representation, trump evaluation, and legal move validator (suit-following check). Milestone 2: Implement bidding resolution, blind exchange for Lielais, and points tally settlement.

Download as JSON

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

Download JSON
Cite this page

Zole (Latvian Solo) (Latvia). (n.d.). Games of Countries. https://gamesofcountries.com/games/lv-latvia/zolite

@misc{gamesofcountries-lv-latvia-zolite,
  title = {Zole (Latvian Solo) (Latvia)},
  year = {n.d.},
  publisher = {Games of Countries},
  url = {https://gamesofcountries.com/games/lv-latvia/zolite}
}