Formal Specification
Farmers' Schnapsen (Four-player Schnapsen) — Formal Specification
Austria · card · Confidence: high
← Back to game pageImplementation Suitability
Suitability: engine-readyFidelity: directGap-fills: 0
# Bauernschnapsen — AI-optimized specification
## General idea
A four-player partnership trick-taking card game played with a 20-card deck. Players participate in an initial auction to establish a contract, which determines whether the game is played as a partnership trump contract, a solo trump grand slam, or a solo negative contract. Strict suit-following, over-trumping, and mandatory winning constraints apply across all 5 tricks.
## Formal model
- **Abstraction taken:** None required (`direct` fidelity). The bidding ladder, 20-card deal, trick hierarchy, and 24-point subtraction scoreboard are entirely discrete.
- **Player/agent count:** 4 agents arranged in circular order , with teams and .
- **Turn model:** Sequential auction phase, followed by sequential trick play (5 tricks of 4 cards each).
## Formal rules
R1. Deal: 20-card deck dealt completely (5 cards per agent). No draw pile exists during play.
R2. Auction Phase: Starting at player , each agent bids an integer contract level or passes ().
- : Normalspiel (Partnership, Trump suit chosen, goal: 66 pts, value: 1 pt).
- : Bettler (Solo, No trump, goal: 0 tricks, value: 4 pts).
- : Schnapser (Solo, Trump chosen, goal: 66 pts in tricks, value: 6 pts).
- : Gangl (Solo, Trump chosen, goal: all 5 tricks, value: 9 pts).
- : Bauernschnapser (Solo, Trump chosen, goal: all 5 tricks un-trumped, value: 12 pts).
- : Herrenschnapser (Solo, all 5 top trumps held, value: 24 pts).
- The highest bidder becomes Declarer and sets Trumpf (if applicable).
R3. Trick-taking constraints (*Farb-, Stich-, und Trumpfzwang*):
- Leader plays any legal card from hand.
- Subsequent 3 players in clockwise rotation must legally select:
1. If holding cards in suit led: must follow suit; furthermore, must play a higher rank than the current highest card if able.
2. If void in suit led: must play a trump card ; if another trump has already been played, must play a higher trump if able.
3. If void in suit led and unable to over-trump (or void in trump): may play any card.
R4. Trick resolution: The highest trump card played wins the trick; if no trump is played, the highest card of the suit led wins the trick. Trick winner leads the next trick.
R5. Contract resolution:
- Normalspiel: Declarer side sums card points + marriages. If sum , Declarer side deducts 1 point (or 2 if opponents , 3 if opponents ). If sum , Defending side deducts points.
- Solo contracts (): Evaluated purely on trick counts / condition fulfilled. If fulfilled, Declarer team deducts contract value; if failed, Defending team deducts contract value.
R6. Match Victory: Each team starts at 24 points. First team to reduce points wins the match.
## Edge cases
- **Tie at the end condition:** Points are deducted monotonically; if both teams could cross 0 in consecutive hands, the team fulfilling the decisive winning contract wins immediately.
- **A player with no legal move:** Card discard rules ensure at least one legal card exists in hand at every turn.
- **Repetition / cycles:** Exactly 5 tricks of 4 cards are played per hand; the game cannot cycle.
- **Simultaneous claims on the same resource or position:** Bidding and trick play are strictly sequential clockwise.
- **Player elimination mid-round; turn order repair:** Not applicable; all 4 players participate in all tricks.
- **Resource exhaustion:** Hand strictly ends after 5 tricks (20 cards played).
- **Termination guarantee:** Match score strictly decreases toward 0 after each hand, guaranteeing finite termination.
## State representation
- **Persistent state:** Team scores , dealer index .
- **Per-hand state:** Agent hands , active contract , declarer ID, trump suit , trick history, current trick cards played, accumulated trick points per team.
- **Observable information:** Imperfect information. Each agent observes own 5 cards, public bids, cards played into past tricks, and team score tallies. Other players' hands remain hidden until played.
## Action space
- `bid(contract_level)`: Bid .
- `declare_trump(suit)`: Set trump .
- `play_card(card)`: Play card obeying R3 constraints.
## Playability notes
- **Single-player-vs-AI:** Highly playable; standard 4-agent partnership AI environment.
- **Group games ():** Standard 4-player game; can be reduced to 2-agent form via dummy-hand abstractions (though standard 4-agent bot teams are preferred).
- **Physical-skill games:** Not applicable (pure discrete card game).
- **What is lost in the adaptation:** Table-side partner signaling conventions (*Deuten*), glance psychology, and Austrian tavern banter.
## Implementation hints
- Implement strict rule validation for R3 (Farb-/Stich-/Trumpfzwang) as a mask over hand actions.
- Suggested first milestone: Implement a random 4-agent trick simulator with full R3 legal action filtering before writing the auction solver.
Download as JSON
Download the full game corpus entry for this game as structured JSON.
Download JSONCite this page
Farmers' Schnapsen (Four-player Schnapsen) (Austria). (n.d.). Games of Countries. https://gamesofcountries.com/games/at-austria/bauernschnapsen
@misc{gamesofcountries-at-austria-bauernschnapsen,
title = {Farmers' Schnapsen (Four-player Schnapsen) (Austria)},
year = {n.d.},
publisher = {Games of Countries},
url = {https://gamesofcountries.com/games/at-austria/bauernschnapsen}
}