Skip to main content
Formal Specification

People's Ball — Formal Specification

Bulgaria · ball-team · Confidence: low

← Back to game page

Implementation Suitability

Suitability: engine-readyFidelity: discretizedGap-fills: 4
# Narodna topka — AI-optimized specification ## General idea A two-team crossfire elimination game played across a partitioned 2D court. Each team operates an attacking pincer comprising an interior main field and a rear exterior backline occupied by their captain (*konsul*) and eliminated teammates. Players coordinate aerial passes and targeted strikes to eliminate opposing field agents, culminating in a multi-life last-stand phase by the opposing consul. ## Formal model - **Abstraction taken:** The 18x9 metre court is discretized into a 2D coordinate grid with 4 dedicated zones: Field A ([0,8]×[0,8]), Field B ([9,17]×[0,8]), Backfield A ([18,20]×[0,8], behind Field B), and Backfield B ([−3,−1]×[0,8], behind Field A). Ball flight is discretized into targeted throws with stochastic hit/catch resolution. - **Player/agent count:** 2 teams (Team A, Team B), each with K agents (K∈[4,12]), consisting of 1 Consul agent and K−1 field agents. - **Turn model:** Alternating or possession-based continuous event ticks. ## Formal rules R1. Setup: - Team A field agents A1..AK−1 start in Field A. Consul CA starts in Backfield A. - Team B field agents B1..BK−1 start in Field B. Consul CB starts in Backfield B. - Initial ball possession is assigned to Team A. R2. Legal actions with ball possession: - `pass_ball(target_teammate)`: Throws ball to a teammate in either the main field or backfield. - `strike_throw(target_opponent)`: Throws ball aimed at an opposing player in the opposite field. R3. Strike resolution model: - When agent i executes `strike_throw(j)` against target j: - [gap-fill] Strike accuracy depends on distance d(i,j) and thrower accuracy attribute Acci: Phit=max⁡(0.2,Acci−0.04⋅d(i,j)). - If hit succeeds: Defender j attempts a catch with probability Pcatch=Agilityj⋅0.5. - If caught: Defender is NOT eliminated; Team of defender gains ball possession and adds +1 to their banked extra lives Lbank [gap-fill]. - If uncaught: Defender is struck. Strike outcome triggers elimination (R4). Ball comes to rest in the defender's zone. - If hit fails (miss): Ball flies past target and lands in the backfield; possession goes to whichever agent occupies that zone. R4. Elimination and Zone Transfer: - When a regular field agent Am is struck without catching, Am is transferred from Field A to Backfield A. - In Backfield A, Am retains full attacking rights (can receive passes and execute `strike_throw` at Field B opponents). - [gap-fill] If Team A has banked lives (Lbank>0), Team A may immediately consume 1 life to keep Am in Field A instead of transferring. R5. Consul Entry Phase: - When all field agents of Team A are transferred to Backfield A, Consul CA enters Field A as the active player. - CA receives an intrinsic life counter Lives(CA)=3. - Each time CA is struck uncaught, Lives(CA) decrements by 1. R6. Termination and Victory: - Team A loses when Lives(CA)==0. Team B is declared the winner. - Symmetrically, Team B loses when Lives(CB)==0. ## Edge cases - Tie at the end condition: Not applicable — one team's consul is strictly eliminated first, producing a binary win/loss. - A player with no legal move: Not applicable — passing and striking are always available to the ball-possessing agent; evasion/catching are always available to targets. - Repetition / cycles: Bounded: Every strike attempt carries non-zero probability of an elimination or consul life decrement; banked lives are capped at 3 [gap-fill], guaranteeing finite duration. - Simultaneous claims on the same resource or position: The ball entity is uniquely possessed by exactly one agent at any instant. - Player elimination mid-round; turn order repair: Eliminated players are not removed from the game; they are transferred to the backfield and continue acting, maintaining constant agent counts. - Resource exhaustion: Not applicable — ball entity and discrete zones are static. - Termination guarantee: Monotonic decrement of active field agents down to the consul, followed by strictly non-increasing consul lives (3→0). ## State representation - Persistent state: Team rosters, agent attributes (Acci,Agilityi), consul identities, banked lives (LbankA,LbankB), consul life counters (LivesA,LivesB). - Per-tick ephemeral state: Ball carrier ID, ball trajectory/target, active zones per agent (Field vs. Backfield), consul entry flags. - Observable information: Fully observable — all agent positions, zones, ball carrier, and life counts are public to all agents. ## Action space - `pass_ball(target_id)`: Precondition: Caller holds ball, target is on same team. - `strike_throw(target_id)`: Precondition: Caller holds ball, target is an opposing field agent. - `reposition(target_coord)`: Precondition: Caller moves within their assigned zone boundaries. - `consume_banked_life()`: Precondition: Field agent struck and team has Lbank>0. ## Playability notes - Single-player-vs-AI: Natural — Human controls one team (or the team captain/consul), directing passes, tactical crossfire positioning, and target selection against an AI squad. - Group games (n>4): Fully scalable; reduces to 2 teams of 2 agents (1 field player + 1 consul per team) with zero loss of core crossfire dynamics. - Physical-skill games: Throwing accuracy and evasive catching are parameterized via continuous spatial distance and stochastic attribute tables. - What is lost: The physical exertion of dodging and the tactile impact of catching a stinging rubber ball are abstracted into attribute thresholds. ## Implementation hints Low-to-medium complexity. State machine has clear phase transitions (Regular Field Play → Consul Last Stand). Suggested first milestone: implement a 4-agent game (1 field + 1 consul per team) with deterministic passing and distance-based strike probability before scaling to full 12-agent squads.

Download as JSON

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

Download JSON
Cite this page

People's Ball (Bulgaria). (n.d.). Games of Countries. https://gamesofcountries.com/games/bg-bulgaria/narodna-topka

@misc{gamesofcountries-bg-bulgaria-narodna-topka,
  title = {People's Ball (Bulgaria)},
  year = {n.d.},
  publisher = {Games of Countries},
  url = {https://gamesofcountries.com/games/bg-bulgaria/narodna-topka}
}