Formal Specification
Bamboo Jacks and Ball / Stick Passing Game — Formal Specification
Vietnam · dexterity-small · Confidence: medium
← Back to game pageImplementation Suitability
Suitability: adaptation-requiredFidelity: probabilistic-proxyGap-fills: 5
# Chơi chuyền — AI-optimized specification
## General idea
Chơi chuyền is a traditional Vietnamese hand-eye coordination game played with 10 slender bamboo sticks and a small tossing ball. A player progresses through ten strictly ordered "tables" (stages), tossing the ball airborne, scooping up precise partition counts of sticks (from 1-by-1 up to all 10 in a single sweep), and catching the descending ball before it hits the ground. Any fault hands the turn to the next player, with the active player resuming from their highest uncompleted stage upon rotation.
## Formal model
- **Abstraction taken:** The continuous three-dimensional physical actions of tossing, scooping sticks without disturbing adjacent pieces, reciting nursery rhymes in cadence, and catching the ball are abstracted into a stochastic stage-transition model with parameterized success probability [gap-fill: physical ball toss, stick scooping, and rhythmic verse timing are replaced by a parameterized success probability ].
- **Player/agent count:** 2 to 6 agents in fixed clockwise rotation.
- **Turn model:** Sequential turn-taking. An agent executes attempts continuously until faulting or winning.
## Formal rules
R1. Setup:
- 10 sticks lie on the play surface.
- Each agent has a progress state , where represents the Table index (1–10 plus 11 for the final flourish), and represents the sub-step throw index within that table. Initially, for all .
R2. Table Sub-step Specifications:
- Table 1 (): 10 throws, each scooping stick ().
- Table 2 (): 5 throws, each scooping sticks ().
- Table 3 (): 4 throws, scooping sticks ().
- Table 4 (): 3 throws, scooping sticks ().
- Table 5 (): 2 throws, scooping sticks ().
- Table 6 (): 2 throws, scooping sticks ().
- Table 7 (): 2 throws, scooping sticks ().
- Table 8 (): 2 throws, scooping sticks ().
- Table 9 (): 2 throws, scooping sticks ().
- Table 10 (): 1 throw, scooping sticks in a single sweep ().
- [gap-fill] Table 11 (, Finishing Flourish): 1 flourish throw () requiring a single catch check with baseline difficulty parameter .
R3. Turn Execution:
- On agent 's turn, the agent attempts throw sub-step of Table .
- The attempt outcome is sampled from , where .
- If Successful:
- If sub-step is the final step of Table :
- If , agent wins immediately and the game ends (R5).
- Else, , , and agent immediately attempts the first throw of the new table.
- Else, , and agent immediately attempts the next sub-step.
- If Fault (Failure):
- [gap-fill] Turn ends immediately; agent retains state (or resets to at the start of the current table), and the turn passes to .
R4. Turn Order and Rotation:
- Turn rotates strictly to the next active player in sequential index order .
R5. Victory Condition:
- The first agent to complete Table 11 (the finishing flourish) wins the match immediately.
R6. [gap-fill] Stalemate / Cycle Termination:
- If all players fail 20 consecutive full rotation cycles without any player advancing a sub-step, the game terminates, and the agent with the highest score wins; ties are broken by lowest total cumulative faults.
## Edge cases
- Tie at the end condition: Not applicable; turns are strictly sequential, and the first agent to complete Table 11 wins on their own turn.
- A player with no legal move: Not applicable; the active player always executes the mandatory attempt action `execute_toss()`.
- Repetition / cycles: Bounded by R6 loop-breaker rule (max 20 scoreless cycles).
- Simultaneous claims on the same resource or position: Sequential turns eliminate any simultaneous resource claims.
- Player elimination mid-round; turn order repair: No mid-round elimination; players retain their progress and wait for rotation.
- Resource exhaustion: The 10 sticks are reset between turns; no physical consumable depletion.
- Termination guarantee: why the game provably ends: Since on all throws, completion of Table 11 is an absorbing state reached almost surely as attempts , and hard bounded by R6.
## State representation
- Persistent state:
- `num_players`: integer .
- `current_player_idx`: integer in .
- `player_progress`: array of tuples .
- `player_skills`: array of float skill ratings .
- `consecutive_stagnant_cycles`: integer tracking cycle stalemate.
- `fault_counts`: array of integers tracking total misses per player.
- Per-round ephemeral state:
- `last_attempt_success`: boolean.
- `current_target_k`: integer stick count for active throw.
- Observable information:
- Fully observed by all agents: all player progress states, turn history, and skill ratings (if public).
## Action space
- `execute_toss()`: Initiates the throw-scoop-catch trial for current sub-step .
- `select_strategy(risk_level)`: [gap-fill] Optional parameter trading speed/style for success probability.
## Playability notes
- Single-player-vs-AI: Natural; 1 human player competing against 1 AI agent, racing to complete Table 11 in fewest total turns.
- Group games (n>4): Generalizes seamlessly to 2–6 players without loss of mechanics, as turn progression is purely independent and sequential.
- Physical-skill games: Physical dexterity is parameterized via `skill_i` and target difficulty curves .
- What is lost in the adaptation: The tactile delicacy of separating tightly tangled bamboo sticks without wobbling neighbors, and the rhythmic singing of the folk nursery verses.
## Implementation hints
- Represent progress as a flat array of table definitions `TABLE_DEFS = [[1]*10, [2]*5, [3,3,3,1], ...]`.
- State transitions are cleanly deterministic given the Bernoulli trial outcome.
- Suggested first milestone: Implement the single-player 11-table finite state machine, verifying that simulated trials with skill=0.8 reach completion in roughly 25–40 turns.
Download as JSON
Download the full game corpus entry for this game as structured JSON.
Download JSONCite this page
Bamboo Jacks and Ball / Stick Passing Game (Vietnam). (n.d.). Games of Countries. https://gamesofcountries.com/games/vn-vietnam/choi-chuyen
@misc{gamesofcountries-vn-vietnam-choi-chuyen,
title = {Bamboo Jacks and Ball / Stick Passing Game (Vietnam)},
year = {n.d.},
publisher = {Games of Countries},
url = {https://gamesofcountries.com/games/vn-vietnam/choi-chuyen}
}