Formal Specification
King and Vizier — Formal Specification
Uzbekistan · guessing-hidden · Confidence: medium
← Back to game pageImplementation Suitability
Suitability: engine-readyFidelity: directGap-fills: 4
# Podshoh-vazir — AI-optimized specification
## General idea
Podshoh-vazir is a multi-role social deduction and courtly parlor game played in traditional gatherings. Players secretly draw roles from a tiered court hierarchy (King, Vizier, Guard, Executioner, Thief, and Citizens); once the King and Vizier declare their offices, the Vizier is commanded by royal decree to interrogate the silent subjects and identify the hidden Thief. If the Vizier succeeds, the Executioner carries out royal sentence on the Thief; if the Vizier accuses an innocent citizen or officer, the Vizier is sentenced for judicial incompetence and punished by the Executioner while the Thief rejoices.
## Formal model
- **Abstraction taken:** None required; the traditional game functions as a discrete hidden-role social deduction system with explicit information sets, interrogations, and score allocations.
- **Player/agent count:** agents (, formal default agents: ).
- **Turn model:** Sequential phase-based protocol (Role Deal Royal Declarations Interrogation Accusation Sentence & Scoring).
## Formal rules
R1. **Role Deck Composition & Scoring:**
- Role deck for : .
- Target match score: points [gap-fill: default target 5000 points].
- Cumulative scores initialized: for all .
R2. **Dealing & Observation:**
- At the beginning of each round, a uniform random permutation of is dealt.
- Each agent privately observes their own role .
R3. **Courtly Identification Phase:**
- The agent holding publicly reveals their role.
- The agent holding publicly reveals their role.
- The remaining agents form the Suspect Pool .
R4. **Interrogation & Accusation Phase:**
- The King issues an official decree: *"O Vizier, find the thief in my realm!"*
- [gap-fill] The Vizier may query each suspect once, receiving a public response .
- The Vizier submits a single accusation .
R5. **Judgment & Scoring Update:**
- **Case 1 — Thief Exposed ():**
- Vizier succeeds. King decrees punishment executed by .
- Points awarded: , , , , , .
- **Case 2 — Incompetent Accusation ():**
- Vizier fails (accused an innocent player). King decrees that the Vizier be punished by .
- Points awarded: , , (steals Vizier's bounty), , , .
R6. **Match Termination:**
- The match terminates when any player reaches or exceeds points. The highest score wins.
- [gap-fill] Round cap: If after rounds no player reaches , the player with the highest accumulated score is declared winner.
## Edge cases
- **Tie at the end condition:** If multiple players tie for highest score upon exceeding , additional single rounds are played until the tie is broken [gap-fill].
- **A player with no legal move:** Not applicable; royal declarations and accusations must be selected from the valid candidate set.
- **Repetition / cycles:** Scores increase strictly monotonically each round; bounded by score ceiling and .
- **Simultaneous claims on the same resource or position:** Not applicable; role cards are dealt as a unique 1-to-1 permutation.
- **Player elimination mid-round:** Not applicable; all players participate throughout all rounds.
- **Resource exhaustion:** Role deck is invariant and reshuffled every round.
- **Termination guarantee:** The game provably terminates within finite rounds due to positive score accumulation every round.
## State representation
- **Persistent state:**
- Number of players .
- Target score .
- Score array .
- Round index .
- **Per-round ephemeral state:**
- Role assignment vector .
- Public King ID, Vizier ID.
- Suspect pool .
- Accusation choice .
- **Observable information:**
- Agent observes only their own role , public King/Vizier identity, suspect IDs, public dialogue messages, and public scores. Non-royal roles remain private until post-accusation reveal.
## Action space
- `declare_royal()`: Mandatory reveal for King and Vizier holders.
- `interrogate(suspect_id, query)`: Vizier question to a suspect. Precondition: `suspect_id` .
- `respond(statement)`: Suspect response to interrogation.
- `accuse(suspect_id)`: Final accusation by Vizier. Precondition: `suspect_id` .
## Playability notes
- **Single-player-vs-AI:** Natural. Single human player immerses in comedic interrogation dialogues with LLM/heuristic agents, balancing deception and deductive logic.
- **Group games reduction:** Seamlessly scales from 4 players (minimal King/Vizier/Guard/Thief) to 12 players (adding extra Citizens/Guards) without rule alteration.
- **Physical-skill games:** Not applicable (pure discrete social deduction).
- **What is lost:** Spontaneous improvisational acting, comedic body language, vocal laughter, and the theatrical slap of the cloth scarf (*durra*).
## Implementation hints
- Implement dialogue and accusation phases using a synchronous turn coordinator.
- Maintain a Bayesian suspect likelihood distribution for the Vizier agent based on suspect response features.
- First milestone: Implement 6-player dealing, accusation logic, and scoring transitions with uniform-random suspect selection before integrating dialogue agents.
Download as JSON
Download the full game corpus entry for this game as structured JSON.
Download JSONCite this page
King and Vizier (Uzbekistan). (n.d.). Games of Countries. https://gamesofcountries.com/games/uz-uzbekistan/podshoh-vazir
@misc{gamesofcountries-uz-uzbekistan-podshoh-vazir,
title = {King and Vizier (Uzbekistan)},
year = {n.d.},
publisher = {Games of Countries},
url = {https://gamesofcountries.com/games/uz-uzbekistan/podshoh-vazir}
}