Formal Specification
Taiwanese Bamboo Popgun (Air Compression Bamboo Gun) — Formal Specification
Taiwan · dexterity-throw · Confidence: low
← Back to game pageImplementation Suitability
Suitability: engine-readyFidelity: probabilistic-proxyGap-fills: 3
# Zhutong Qiang — AI-optimized specification
## General idea
A traditional children's target-shooting dexterity game played with handmade pneumatic bamboo popguns (*Tek-tâng-chhèng* / *Phak-phak-chhèng*). Players load wet paper wads or tree berries into a bamboo tube to seal an airtight chamber, slam a wooden piston rod forward to generate explosive air compression that propels the projectile with a loud "pop!", and knock down target cans at varying distances.
## Formal model
- **Abstraction taken:** Boyle's ideal gas compression dynamics, bamboo bore friction, and projectile ballistics are abstracted into a shot power-and-aim decision model where air seal quality, piston impulse, and aim stability determine projectile velocity and 2D target impact coordinates.
- **Player/agent count:** 1 to 6 players (default 2 or 4).
- **Turn model:** Sequential round-robin target shooting turns across rounds.
## Formal rules
R1. **Popgun Specs & Ammo:**
- Bamboo barrel length , bore diameter .
- Ammunition type .
- Each player starts with 10 ammunition units.
R2. **Target Gallery Setup:**
- 5 target tin cans positioned on a ledge at distances .
- Target point values scale with distance ().
R3. **Loading & Firing Actions (Per Shot):**
1. `Load Ammo`: Load front projectile wad (consumes 1 ammo unit). Rear plug remains in place from previous shot.
2. `Aim & Compress`: Active player specifies target can , aim offsets , and piston thrust force .
R4. [gap-fill] **Pneumatic Ballistics Resolver:**
- Peak chamber pressure: .
- Muzzle exit velocity: .
- Impact dispersion at distance :
where .
R5. **Target Hit & Scoring:**
- A target can of radius is hit if .
- Knockdown condition: If hit and , the can topples over, awarding its point value to the shooter. The can is removed from the gallery.
R6. [gap-fill] **Match Structure & Rounds:**
- Each player shoots 1 shot per round over 5 rounds (total 5 shots per player).
- The player with the highest total score after 5 rounds wins the match.
R7. [gap-fill] **Tie-Break Shoot-off:**
If two players tie for highest score, a sudden-death shot at the distant 6-meter can is conducted.
## Edge cases
- **Tie at the end condition:** Resolved by sudden-death shoot-off at the farthest target (R7).
- **A player with no legal move:** On their turn, an agent always has the legal `load_and_fire` action as long as ammo remains.
- **Repetition / cycles:** Fixed 5-round limit eliminates any possibility of cycles.
- **Simultaneous claims on the same resource or position:** Sequential turns; knocked-over cans are removed or reset per flight.
- **Player elimination mid-round:** Not applicable (non-elimination point tournament).
- **Resource exhaustion:** Total shots are capped at 5; ammunition is replenished per round.
- **Termination guarantee:** Guaranteed by strict 5-round progression.
## State representation
- **Persistent state:**
- `players`: list of `{id, score, ammo_remaining, dexterity_rating}`.
- `current_round`: integer in .
- `target_gallery`: array of `{can_id, distance, points, is_standing}`.
- **Per-shot ephemeral state:**
- `active_player_idx`: integer.
- `piston_force`: float.
- `aim_coordinates`: `(x, y)`.
- `last_shot_result`: `{hit: bool, can_id: int, points: int}`.
- **Observable information:** Fully observable target positions, point values, and player scores.
## Action space
- `fire_popgun(target_can_id, aim_offset_x, aim_offset_y, piston_force)`:
- *Parameters:* `target_can_id \in [1..5]`, , .
## Playability notes
- **Single-player-vs-AI:** Highly playable target-shooting optimization; AI evaluates probability-discounted expected points for each can distance given its dexterity rating.
- **Group games (n>4):** Scales smoothly to 6 players taking sequential shots.
- **Physical-skill games:** Physical palm striking of the piston and bamboo seal tightness are formalized into pneumatic exit velocity and Gaussian trajectory dispersion.
- **What is lost in the adaptation:** Loud acoustic *thwack-pop* echo across the garden, soapy paper water dripping on hands, and hunting for ripe chinaberries in the wild.
## Implementation hints
- Pure discrete-turn target ballistic evaluator.
- Computational overhead per shot is .
- Suggested first milestone: Implement 5-target gallery with pneumatic velocity calculation, Gaussian impact dispersion, and round scoring.
Download as JSON
Download the full game corpus entry for this game as structured JSON.
Download JSONCite this page
Taiwanese Bamboo Popgun (Air Compression Bamboo Gun) (Taiwan). (n.d.). Games of Countries. https://gamesofcountries.com/games/tw-taiwan/zhutong-qiang
@misc{gamesofcountries-tw-taiwan-zhutong-qiang,
title = {Taiwanese Bamboo Popgun (Air Compression Bamboo Gun) (Taiwan)},
year = {n.d.},
publisher = {Games of Countries},
url = {https://gamesofcountries.com/games/tw-taiwan/zhutong-qiang}
}