Skip to main content
Formal Specification

Moka Bandi (Object-Guessing Game) — Formal Specification

Australia · guessing-hidden · Confidence: low

← Back to game page

Implementation Suitability

Suitability: adaptation-requiredFidelity: discretizedGap-fills: 1
# Moka Bandi — AI-optimized specification ## General idea Two distinct guessing games sharing one card: a hidden-reference game (I-spy) with an unbounded answer space, and a hidden-quantity game with a small bounded answer space — the two need genuinely different guess-narrowing strategies, and a spec should keep them as separate modes rather than merging them into one mechanic. ## Formal model - **Abstraction taken:** the I-spy mode becomes a hidden-reference selection from a visible candidate set; the number-guessing mode becomes a hidden-integer selection within a bounded range. - **Player/agent count:** any manageable group, one concealer at a time. - **Turn model:** sequential — one guess at a time, rotating among guessers. ## Formal rules R1. **I-spy mode.** The concealer performs `select(referent)` from the set of currently visible things, keeping it hidden. R2. Guessers take turns performing `guess(referent)`; a correct guess ends the round in that guesser's favour, and hints (`give_hint()`) may optionally narrow the visible candidate set. R3. **Number mode.** The concealer performs `conceal(count)`, hiding a quantity of objects. R4. Guessers take turns performing `guess(count)`; the first correct guess wins and that guesser becomes the new concealer; if no one guesses correctly in one full round, the same concealer repeats R3. R5. [gap-fill] Neither mode has an explicit round or time limit in the source; a practical implementation should cap guesses per round to keep the game moving, since real play would naturally self-limit through social pacing that a spec cannot otherwise capture. ## Edge cases - **Tie at the end condition:** not applicable — exactly one correct guess ends a round in both modes. - **Player with no legal move:** not applicable — a guess is always available. - **Repetition / cycles:** possible if no one guesses correctly (number mode explicitly allows a repeat, R4); bounded by the gap-filled per-round guess cap (R5). - **Simultaneous claims:** not applicable — sequential single-guesser turns. - **Mid-round elimination and turn-order repair:** not applicable — no elimination, only concealer-role rotation on success. - **Resource exhaustion:** not applicable in the base forms. - **Termination guarantee:** guaranteed by the gap-filled guess cap (R5), or naturally by a finite candidate/range space being exhausted through hints. ## State representation Persistent: candidate referent set (I-spy mode) or valid count range (number mode). Per-round: concealer's hidden selection. Per-turn ephemeral: guesses made so far this round, hints given. Information set: the concealer's selection is hidden from all guessers until a correct guess or reveal. ## Action space - `select(referent)` / `conceal(count)` — precondition: actor is the concealer. - `guess(referent)` / `guess(count)` — precondition: actor is a guesser. - `give_hint()` — precondition: actor is the concealer, I-spy mode. ## Playability notes - **Single-player-vs-AI:** natural in the number-guessing mode as a bounded-search puzzle against an AI concealer; the I-spy mode needs a defined candidate set to be tractable for an AI guesser. - **Group games (n>4):** scales directly by simple turn rotation in both modes. - **Physical-skill model:** not applicable — a pure information/inference game in both modes. - **What is lost:** the I-spy mode's real-world groundedness — guessing an actual flower or bird the group can all potentially see — has no analogue once formalized against an abstract candidate set, unless that set is populated with real environmental detail. ## Implementation hints Keep the two modes as separate implementations rather than one generalized 'guess the hidden thing' mechanic — the number mode's bounded integer range supports genuine optimal-guessing-strategy analysis (like a mastermind/bisection puzzle), while the I-spy mode is fundamentally a knowledge/observation game with no such structure.

Download as JSON

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

Download JSON
Cite this page

Moka Bandi (Object-Guessing Game) (Australia). (n.d.). Games of Countries. https://gamesofcountries.com/games/au-australia/moka-bandi

@misc{gamesofcountries-au-australia-moka-bandi,
  title = {Moka Bandi (Object-Guessing Game) (Australia)},
  year = {n.d.},
  publisher = {Games of Countries},
  url = {https://gamesofcountries.com/games/au-australia/moka-bandi}
}