Formal Specification
Ring Under the Caps — Formal Specification
Croatia · guessing-hidden · Confidence: low
← Back to game pageImplementation Suitability
Suitability: engine-readyFidelity: directGap-fills: 2
# Igra prstena — AI-optimized specification
## General idea
An asymmetric hidden-information guessing and bluffing game. A hiding agent conceals a discrete token under one of cups; a searching agent sequentially discards cups believed to be empty to accumulate scoring multipliers, terminating with a direct strike on the target cup, with severe penalties if the token is exposed during an empty discard.
## Formal model
- **Abstraction taken:** Psychological micro-expressions and body language tells are abstracted into a noisy binary cue signal vector observed by the searcher upon inspecting each cup.
- **Player/agent count:** 2 agents () or 2 teams of 3 agents.
- **Turn model:** Asymmetric two-phase sequential round structure: (1) Concealment Choice, (2) Sequential Discard/Strike Search.
## Formal rules
R1. Setup:
- Array of cups indexed .
- Target score points (*konji*). Team scores initialized: .
R2. Concealment Phase:
- Agent selects secret cup index .
- Cup states initialized: for all .
- [gap-fill] Searcher observes noisy probability vector where .
R3. Search Phase (Sequential Actions by ):
- chooses one of two actions on an unrevealed cup :
1. `discard_empty(k)`: Searcher asserts cup is EMPTY.
- If : Cup is marked . continues turn.
- If : `FAULT (IZBAČEN PRSTEN)`. The search ends immediately. scores points equal to the number of remaining unrevealed cups: . retains hiding role.
2. `strike_ring(k)`: Searcher asserts cup contains the RING.
- If : `SUCCESS`.
- If done on first move (0 discards): scores 5 bonus points.
- If done after successful discards: scores points.
- Role turnover: becomes for next round.
- If : `FALSE STRIKE`. scores points equal to ; retains hiding role.
R4. Match Victory:
- First agent/team to achieve points wins the match.
- [gap-fill] Turn horizon capped at rounds; highest score wins if cap reached.
## Edge cases
- Tie at the end condition: Tied scores broken by sudden-death 1-round hiding duel.
- A player with no legal move: Searcher always has at least one unrevealed cup while round is active.
- Repetition / cycles: Bounded by finite round limit and strictly positive score increments per round.
- Simultaneous claims on the same resource or position: Actions within a round are strictly sequential.
- Player elimination mid-round; turn order repair: In team play, captain handles the action selections; if captain disconnects, teammate assumes role.
- Resource exhaustion: cups are reset to unrevealed state at start of each round.
- Termination guarantee: Monotonically increasing score with strictly positive expected points per round () guarantees finite termination.
## State representation
- Persistent state: `score_hide: int`, `score_seek: int`, `round_number: int`, `hider_id: int`.
- Ephemeral round state: `secret_cup: int`, `cup_states: list[enum]`, `discards_count: int`, `round_resolved: bool`.
- Observable information: Hider knows ; Seeker observes noisy cue vector and history of revealed cups.
## Action space
- `hide_token(cup_index: int)`: Hider placement action ().
- `discard_cup(cup_index: int)`: Searcher empty claim.
- `strike_cup(cup_index: int)`: Searcher ring declaration.
## Playability notes
- Single-player-vs-AI: Highly engaging; searcher solves an optimal stopping problem under Bayesian belief distributions over cup locations.
- Group games (n>4): Natively designed for 4 to 12 agents.
- Physical-skill games: Not applicable (discrete hidden-information strategy game).
- What is lost: Live human eye contact, subtle nervous sweating, singing atmosphere around the woolen blanket.
## Implementation hints
Direct discrete Bayesian decision process. First milestone: implement full rulebook with uniform random hider before adding reinforcement learning hider/seeker policies.
Download as JSON
Download the full game corpus entry for this game as structured JSON.
Download JSONCite this page
Ring Under the Caps (Croatia). (n.d.). Games of Countries. https://gamesofcountries.com/games/hr-croatia/igra-prstena
@misc{gamesofcountries-hr-croatia-igra-prstena,
title = {Ring Under the Caps (Croatia)},
year = {n.d.},
publisher = {Games of Countries},
url = {https://gamesofcountries.com/games/hr-croatia/igra-prstena}
}