Skip to main content
Formal Specification

Classical Japanese Kickball — Formal Specification

Japan · ball-team · Confidence: low

← Back to game page

Implementation Suitability

Suitability: adaptation-requiredFidelity: discretizedGap-fills: 3
# Kemari — AI-optimized specification ## General idea An ancient cooperative court ball game in which 6 or 8 players (*kikunin*) work together to keep a hollow deerskin ball (*mari*) continuously aloft inside a square court bordered by four sacred trees. Players kick exclusively with the right foot, steadying the ball with self-bounces (*jikeri*) before passing to teammates (*watashi-geri*) to maximize the unbroken rally length. ## Formal model - **Abstraction taken:** Three-dimensional ball flight aerodynamics, precise right-foot instep strikes, and court sliding steps are abstracted into a cooperative stochastic network process. Passing between court stations involves trajectory selection and execution probability `P(clean_kick) = f(skill, ball_stability, target_distance)`. - **Player/agent count:** 6 or 8 cooperative agents (standard formal layout: 8 agents occupying designated court perimeter stations). - **Turn model:** Sequential ball-possession turns determined by dynamic ball trajectory within a continuous rally. ## Formal rules R1. Court setup: A square court (*Mari-niwa*) with 8 designated perimeter stations `S_0..S_7` centered around coordinate `(0,0)`. Four corner nodes represent the sacred trees (*Pine, Cherry, Willow, Maple*). R2. Rally initialization: The ball is tossed into the central air space to initiate the rally, setting `rally_kicks = 0` and `ball_stability = 1.0`. R3. Kicking turn sequence: The receiving agent at station `S_active` chooses: - Self-control kick (*Jikeri*): 1 or 2 low vertical kicks to restore `ball_stability`. - Pass kick (*Watashi-geri*): An upward parabolic pass directed to a chosen teammate station `S_target`. - Vocal call (*Koe*): Must emit one invocation from `{"Ari!", "Yā!", "Ō!"}`. R4. Execution resolution: - Pass success probability: `P(success) = clamp(skill_active * ball_stability - 0.05 * dist(S_active, S_target), 0.05, 0.95)`. - If successful, `rally_kicks += 1`, the ball reaches `S_target`, and `S_target` becomes the active receiver. R5. Fault condition: - If execution fails (ball touches ground, goes out of court bounds, or is struck with anything other than the right foot instep), the rally ends immediately. R6. Match scoring: A match consists of 3 official rally attempts. The team's score is the maximum unbroken rally count achieved among the 3 attempts. R7. [gap-fill] Sacred tree deflection: If a pass trajectory intersects a corner tree node, the ball deflects downward; receiver must execute an emergency recovery kick with a -0.20 success penalty. R8. [gap-fill] Right-foot-only constraint: Any simulated attempt to use the left foot or body torso incurs an instantaneous fault penalty. R9. [gap-fill] Ritual rally completion cap: If an unbroken rally reaches 300 consecutive kicks, the rally is deemed an auspicious complete ritual and concludes with maximum score. ## Edge cases - **Tie at the end condition:** Purely cooperative game; score is a shared scalar value (rally count). - **A player with no legal move:** Active receiver must always attempt a pass or self-control kick. - **Repetition / cycles:** Passing can loop indefinitely between adjacent players; bounded by stochastic drop probability and R9 (300-kick cap). - **Simultaneous claims on the same resource or position:** Only one player is designated as the target receiver per pass based on trajectory destination. - **Player elimination mid-round:** Not applicable; all 8 players remain in fixed court positions. - **Resource exhaustion:** Exactly 1 deerskin ball is used per rally. - **Termination guarantee:** Guaranteed by non-zero failure probability on every pass (`P(failure) >= 0.05`) and the hard cap of 300 kicks (R9). ## State representation - **Persistent state:** `match_rallies` (list of 3 integer scores), `high_score` (int), `current_rally_index` (1..3). - **Per-rally state:** `active_station` (0..7), `rally_kicks` (int), `ball_stability` (float in `[0.0, 1.0]`), `ball_position` (station ID). - **Observable information:** Fully observable cooperative state; all agents observe ball position and team metrics. ## Action space - `execute_kick(action_type: JIKERI | WATASHI, target_station: int, vocal_call: ARI | YA | O)`: Commit kicking parameters. ## Playability notes - **Single-player-vs-AI:** Operates as a cooperative multi-agent coordination benchmark; single human controls one station while 7 AI agents manage partner passing. - **Group games (n>4):** Native 8-agent cooperative structure; can reduce to 6 players (*Roku-nin Mari*) or 2 agents passing back and forth across a simplified court. - **Physical-skill games:** Right-foot instep mechanics and sliding posture are abstracted into stability and skill parameters. - **What is lost in the adaptation:** The solemn Shinto ritual atmosphere, rustle of court robes (*kariginu*), and delicate physical trajectory adjustments. ## Implementation hints Discrete station-to-station graph routing with Markov transition probabilities. Can be implemented as a state machine tracking ball stability and station adjacency. First milestone: build 8-station passing loop with stochastic drop logic and rally counter.

Download as JSON

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

Download JSON
Cite this page

Classical Japanese Kickball (Japan). (n.d.). Games of Countries. https://gamesofcountries.com/games/jp-japan/kemari

@misc{gamesofcountries-jp-japan-kemari,
  title = {Classical Japanese Kickball (Japan)},
  year = {n.d.},
  publisher = {Games of Countries},
  url = {https://gamesofcountries.com/games/jp-japan/kemari}
}