Formal Specification
Al-Funayjilah (The Little Cup) — Formal Specification
Jordan · guessing-hidden · Confidence: low
← Back to game pageImplementation Suitability
Suitability: engine-readyFidelity: directGap-fills: 4
# Al-Funayjilah — AI-optimized specification
## General idea
A two-team asymmetric deduction game where the hiding team secretly places a ring beneath one of 9 numbered coffee cups while observing the sacred inviolability of a 10th "Sheikh's Cup". The guessing team iteratively eliminates empty cups to maximize point yields while avoiding declaring the ring's location prematurely or disturbing the forbidden Sheikh's Cup.
## Formal model
- **Abstraction taken:** Psychological micro-expressions are abstracted into probabilistic deduction or pure information-set reduction.
- **Player/agent count:** 2 teams ().
- **Turn model:** Alternating phases: 1 Hiding Phase, followed by a sequential Guessing/Elimination Phase.
## Formal rules
R1. **Board setup:** 9 play cups arranged in a grid, and 1 non-playable cup .
R2. **Hiding action:** selects secret target . is an illegal selection; selecting it forfeits the round immediately.
R3. **Guessing actions:** executes a sequence of declarations :
- `eliminate_empty(c_i)`: Asserts . If correct, is revealed empty and removed from .
- `declare_target(c_i)`: Asserts . Resolves the round immediately.
- If targets with any action, forfeits the round.
R4. **Scoring:**
- If `declare_target(c_i)` is correct (): scores points [gap-fill].
- If `eliminate_empty(c_i)` hits (accidental reveal while declaring empty): Round ends; scores 0; scores 50 points [gap-fill].
- If `declare_target(c_i)` is incorrect (): Round ends; scores 0; scores 50 points [gap-fill].
R5. **Match victory:** Roles swap each round. First team to reach 100 points wins the match.
## Edge cases
- **Tie at the end condition:** If both reach 100 in the same round pair, tiebreaker round is played [gap-fill].
- **A player with no legal move:** Not applicable — at least one cup is always available in .
- **Repetition / cycles:** Impossible since strictly decrements on each elimination.
- **Simultaneous claims:** Not applicable — strictly phased turn order.
- **Player elimination mid-round:** Not applicable — team-level decision.
- **Resource exhaustion:** Cup set is finite ().
- **Termination guarantee:** Each round terminates in at most 9 steps; match terminates when score threshold is reached.
## State representation
- **Persistent state:** `scores: Dict[Team, int]`, `active_hider: Team`, `active_guesser: Team`.
- **Ephemeral state:** `hidden_cup: Optional[int]`, `revealed_empty: Set[int]`, `round_over: bool`.
- **Observable information:** `hidden_cup` is private to until revealed; `revealed_empty` is common knowledge.
## Action space
- `hide(cup_id)`: Selects .
- `eliminate(cup_id)`: Removes empty candidate.
- `guess(cup_id)`: Final point attempt.
## Playability notes
- **Single-player-vs-AI:** Direct implementation as a Bayesian deduction game with bluffing probabilities.
- **Group games (n>4):** Naturally modeled as a single agent per team representing the team leader.
- **Physical-skill games:** Not applicable (pure information/logic game).
- **What is lost:** In-person facial reading, body language cues, and coffee ceremony ambiance.
## Implementation hints
Ideal for direct game engine conversion. Board state is an array of 9 booleans plus score counters.
Download as JSON
Download the full game corpus entry for this game as structured JSON.
Download JSONCite this page
Al-Funayjilah (The Little Cup) (Jordan). (n.d.). Games of Countries. https://gamesofcountries.com/games/jo-jordan/al-funayjilah
@misc{gamesofcountries-jo-jordan-al-funayjilah,
title = {Al-Funayjilah (The Little Cup) (Jordan)},
year = {n.d.},
publisher = {Games of Countries},
url = {https://gamesofcountries.com/games/jo-jordan/al-funayjilah}
}