Formal Specification
Alkort — Formal Specification
Iceland · card · Confidence: low
← Back to game pageImplementation Suitability
Suitability: engine-readyFidelity: directGap-fills: 5
# Alkort — AI-optimized specification
## General idea
The oldest indigenous Icelandic card game, played by two fixed partnerships with a 44-card pack (fives and tens removed). It is a trick-taking game without trump suits, governed by an idiosyncratic permanent honor hierarchy, invincible leading sevens (*Bísefar*), and zero requirement to follow suit. Strategic depth centers on tracking high honors, timing invincible sevens, and achieving consecutive trick streaks (*Múkur* and *Stroka*).
## Formal model
- **Abstraction taken:** None — the traditional card rules already constitute a discrete, finite, imperfect-information game. Formalization specifies exact resolution order for identical-rank cards and match point thresholds.
- **Player/agent count:** 4 players in 2 fixed partnerships (Team A: Player 0 and Player 2; Team B: Player 1 and Player 3).
- **Turn model:** Strictly sequential clockwise turns within each 4-card trick.
## Formal rules
R1. Setup: A 44-card pack is used, formed by removing all 5s and 10s from a standard 52-card deck. The deck is shuffled and dealt clockwise: each player receives 9 cards (in batches of 3-3-3). The remaining 8 cards form a face-down undealt stock (*stokkur*).
R2. Card hierarchy: Cards possess a fixed absolute power ranking independent of suits:
1. King of Diamonds () — *Tígulkóngur* (highest).
2. Two of Hearts () — *Hjartatvistur*.
3. Four of Clubs () — *Laufafjarki*.
4. Eight of Spades () — *Spaðaátta*.
5. Nine of Hearts () — *Hjartanía*.
6. Nine of Diamonds () — *Tígulnía*.
7. Aces, Jacks, and Sixes: all equal in nominal rank; among them, the first played into a trick beats subsequent ones [gap-fill].
8. Sevens () — *Bísefar*: An invincible winning lead if led by a player who won the immediately preceding trick. If played on the very first trick of a deal or discarded into a trick, a Seven has zero rank (*fúlhundur*).
9. Low cards (*Fúlhundar* / *Hrök*): All remaining cards (Queens, threes, non-special Kings, 8s, 4s, 2s). They have zero rank and are beaten by any honor card. Among themselves, the first card led wins the trick.
R3. Turn order & trick play:
- The player to the dealer's left leads any card to the first trick, except a Seven cannot be led on trick 1.
- Play proceeds clockwise. **There is no obligation to follow suit**; a player may play any card held in hand.
- The highest-ranking card played wins the trick per R2.
- The trick winner collects the four cards and leads to the next trick.
R4. Invincible Sevens (*Bísefi*): A player who won the immediately preceding trick may lead any Seven from hand. It wins the trick automatically and unconditionally; other players may discard any card.
R5. Deal scoring:
- If a partnership wins **5 consecutive tricks** in a deal, they score a **Múkur** (5 points).
- If a partnership wins **6 or more consecutive tricks** (or all 9 tricks), they score a **Stroka** (10 points) [gap-fill].
- If neither team achieves a 5-trick streak, the partnership winning the majority of tricks (≥5 of 9) scores 1 point [gap-fill].
R6. Match victory: The first partnership to accumulate **12 game points** (pegs) across deals wins the match.
## Edge cases
- Tie at the end condition: If both partnerships reach ≥12 points in the same deal, the partnership with the higher total score wins; if still tied, one additional deal is played [gap-fill].
- A player with no legal move: Not applicable — a player holding cards can legally play any card from hand on their turn (no suit-following restriction).
- Repetition / cycles: Each deal is finite (exactly 9 tricks). Game points increase monotonically across deals.
- Simultaneous claims on the same resource or position: Not applicable — cards are played sequentially; duplicate rank ties are broken by arrival order (first played wins per R2 [gap-fill]).
- Player elimination mid-round; turn order repair: Not applicable — fixed 4 players throughout the match.
- Resource exhaustion: Each player exhausts their 9 cards in exactly 9 tricks. New deal resets the 44-card deck.
- Termination guarantee: Guaranteed because at least 1 point is awarded per deal, meaning the 12-point threshold is reached within a finite number of deals.
## State representation
- Persistent state:
- `scores`: `[teamA_points, teamB_points]`.
- `dealer`: integer `[0..3]`.
- Per-deal state:
- `hands`: array of 4 card sets (9 cards each initially).
- `stock`: set of 8 cards.
- `tricks_won`: array of lists tracking tricks won by each team.
- `current_streak`: `(team, count)`.
- `trick_history`: list of completed tricks.
- Per-trick ephemeral state:
- `leader`: integer `[0..3]`.
- `cards_on_table`: list of `(player_id, card)`.
- `lead_was_bísefi`: boolean.
- Observable information:
- Imperfect information: each player observes only their own hand, public trick discards, scores, and streak history. Partner and opponent hands and undealt stock remain hidden.
## Action space
- `play_card(card_id)`:
- Preconditions:
1. Card is present in active player's hand.
2. If trick is the first trick of a deal (`trick_num == 1`) and active player is the leader, `card_id` cannot be a Seven ().
## Playability notes
- Single-player-vs-AI: Natural — 1 human player partnered with 1 AI agent against 2 opposing AI agents using imperfect-information tree search (ISMCTS or Information Set Monte Carlo).
- Group games (n>4): Playable as 2-player variant (*Tveggja manna Alkort*) where each player receives 9 cards and draws from stock after each trick.
- Physical-skill games: Not applicable — discrete card game.
- What is lost in the adaptation: Traditional physical signaling conventions between partners are excluded; AI agents rely on legitimate play history inference.
## Implementation hints
- Encode card power as an explicit integer rank array for instantaneous comparison.
- Flag Sevens with a conditional lookup: rank = if `leader_won_previous_trick`, else rank = 0.
- Suggested first milestone: implement deal distribution, trick-winner evaluation with Alkort honor hierarchy, and 5-trick *Múkur* detection.
Download as JSON
Download the full game corpus entry for this game as structured JSON.
Download JSONCite this page
Alkort (Iceland). (n.d.). Games of Countries. https://gamesofcountries.com/games/is-iceland/alkort
@misc{gamesofcountries-is-iceland-alkort,
title = {Alkort (Iceland)},
year = {n.d.},
publisher = {Games of Countries},
url = {https://gamesofcountries.com/games/is-iceland/alkort}
}