Skip to main content
Formal Specification

King and Vizier — Formal Specification

Tajikistan · guessing-hidden · Confidence: low

← Back to game page

Implementation Suitability

Suitability: engine-readyFidelity: directGap-fills: 1
# Shohu vazir — AI-optimized specification ## General idea A discrete asymmetric social deduction and hidden-role parlor game. Roles are distributed secretly from the set {Shoh,Vazir,Duzd,Jallod}. The King reveals themselves and commands the Vizier to identify the hidden Thief. The Vizier must interrogate players and select a suspect; a correct accusation punishes the Thief, while an incorrect accusation punishes the Vizier. ## Formal model - **Abstraction taken:** Social body-language interrogation is formalized into a structured query-response information exchange protocol where agents reveal claims, accusations, and behavioral metrics. - **Player/agent count:** 4 agents minimum (up to 8 with neutral citizen agents). - **Turn model:** Phase-based sequential protocol per round. ## Formal rules R1. Role Distribution: Roles from {Shoh,Vazir,Duzd,Jallod} are randomly shuffled and assigned secretly to agents A0..A3. R2. King Proclamation: The agent holding Shoh publicly reveals their role to all players. R3. Vizier Identification: The agent holding Vazir publicly reveals their role and acknowledges the King. R4. Hidden Roles: Agents holding Duzd (Thief) and Jallod (Executioner) keep their roles private. R5. Interrogation Phase: The Vizier may submit up to 2 query requests `interrogate(agent_id)` to unrevealed agents; agents must respond from `{claim_citizen, claim_executioner, counter_accuse}`. R6. Accusation Phase: The Vizier submits a single public accusation: `accuse(agent_id)`. R7. Resolution & Scoring: - If `accused_id == Duzd`: Accusation is correct. Shoh and Vazir gain +2 points each; Jallod gains +1 point; Duzd loses -2 points. - If `accused_id != Duzd`: Accusation fails. Duzd gains +3 points; Vazir loses -2 points; Shoh gains 0 points. R8. [gap-fill] A full match consists of 4×N rounds so that each agent experiences multiple role configurations. Highest cumulative score wins. ## Edge cases - **Tie at the end condition:** If tied in cumulative score after designated rounds, an additional 2-round sudden-death playoff is held. - **A player with no legal move:** Not applicable; all phases have explicit mandatory actions. - **Repetition / cycles:** Bounded by strict per-round phase progression. - **Simultaneous claims on the same resource:** Actions are strictly phase-ordered. - **Player elimination mid-round:** No elimination mid-round; all agents participate in scoring. - **Resource exhaustion:** Not applicable; role cards are permanent. - **Termination guarantee:** Guaranteed by finite rounds and deterministic per-round resolution. ## State representation - Persistent state: Round counter, score table per agent `score[0..N-1]`. - Ephemeral round state: Secret role mapping `roles[agent_id] \in {Shoh, Vazir, Duzd, Jallod}`, revealed status per agent, Vizier accusation choice. - Information sets (Hidden info): - King and Vizier know their own roles and each other's roles. - Thief knows their own role. - Executioner knows their own role. - King and Vizier do NOT know which remaining agent is Thief vs. Executioner. ## Action space - `reveal_role()`: King and Vizier announcement. - `interrogate(target_id)`: Vizier query action. - `answer_query(claim_type)`: Interrogated agent response. - `accuse(target_id)`: Vizier final accusation. ## Playability notes - **Single-player-vs-AI:** Excellent as human Vizier against AI bluffers, or human Thief attempting to deceive AI Vizier. - **Group games (n>4):** Supports 4–8 agents by adding neutral Citizen roles. - **Physical-skill adaptation:** Direct logical deduction and belief-state modeling with no physical adaptation loss. - **What is lost:** Pure non-verbal facial tells and acoustic vocal tremors. ## Implementation hints Ideal for implementing with standard Bayesian belief networks or reinforcement learning POMDPs. Very compact state space.

Download as JSON

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

Download JSON
Cite this page

King and Vizier (Tajikistan). (n.d.). Games of Countries. https://gamesofcountries.com/games/tj-tajikistan/shohu-vazir

@misc{gamesofcountries-tj-tajikistan-shohu-vazir,
  title = {King and Vizier (Tajikistan)},
  year = {n.d.},
  publisher = {Games of Countries},
  url = {https://gamesofcountries.com/games/tj-tajikistan/shohu-vazir}
}