Skip to main content
Formal Specification

King and Vizier — Formal Specification

Uzbekistan · guessing-hidden · Confidence: medium

← Back to game page

Implementation 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:** N agents (N∈[4,12], formal default N=6 agents: P0…P5). - **Turn model:** Sequential phase-based protocol (Role Deal → Royal Declarations → Interrogation → Accusation → Sentence & Scoring). ## Formal rules R1. **Role Deck Composition & Scoring:** - Role deck for N=6: ℛ={KING,VIZIER,GUARD,EXECUTIONER,THIEF,CITIZEN}. - Target match score: Starget=5000 points [gap-fill: default target 5000 points]. - Cumulative scores initialized: S(Pi)=0 for all i∈{0…N−1}. R2. **Dealing & Observation:** - At the beginning of each round, a uniform random permutation of ℛ is dealt. - Each agent Pi privately observes their own role r(Pi). R3. **Courtly Identification Phase:** - The agent holding KING publicly reveals their role. - The agent holding VIZIER publicly reveals their role. - The remaining N−2 agents form the Suspect Pool 𝒮={Pj|r(Pj)∉{KING,VIZIER}}. 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 Pj∈𝒮 once, receiving a public response mj∈ℳ. - The Vizier submits a single accusation A∈𝒮. R5. **Judgment & Scoring Update:** - **Case 1 — Thief Exposed (r(A)==THIEF):** - Vizier succeeds. King decrees punishment executed by EXECUTIONER. - Points awarded: S(KING)+1000, S(VIZIER)+500, S(GUARD)+100, S(EXECUTIONER)+200, S(CITIZEN)+100, S(THIEF)+0. - **Case 2 — Incompetent Accusation (r(A)≠THIEF):** - Vizier fails (accused an innocent player). King decrees that the Vizier be punished by EXECUTIONER. - Points awarded: S(KING)+1000, S(VIZIER)+0, S(THIEF)+500 (steals Vizier's bounty), S(EXECUTIONER)+200, S(GUARD)+100, S(CITIZEN)+100. R6. **Match Termination:** - The match terminates when any player reaches or exceeds Starget=5000 points. The highest score wins. - [gap-fill] Round cap: If after Rmax=20 rounds no player reaches Starget, 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 Starget, 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 Rmax=20. - **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 N 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 N. - Target score Starget. - Score array S∈ℕN. - Round index r∈{1…Rmax}. - **Per-round ephemeral state:** - Role assignment vector r∈ℛN. - Public King ID, Vizier ID. - Suspect pool 𝒮. - Accusation choice A. - **Observable information:** - Agent Pi observes only their own role r(Pi), 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 JSON
Cite 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}
}