Formal Specification
People's Ball — Formal Specification
Bulgaria · ball-team · Confidence: low
← Back to game pageImplementation 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 (), Field B (), Backfield A (, behind Field B), and Backfield B (, 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 agents (), consisting of 1 Consul agent and field agents.
- **Turn model:** Alternating or possession-based continuous event ticks.
## Formal rules
R1. Setup:
- Team A field agents start in Field A. Consul starts in Backfield A.
- Team B field agents start in Field B. Consul 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 executes `strike_throw(j)` against target :
- [gap-fill] Strike accuracy depends on distance and thrower accuracy attribute : .
- If hit succeeds: Defender attempts a catch with probability .
- If caught: Defender is NOT eliminated; Team of defender gains ball possession and adds to their banked extra lives [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 is struck without catching, is transferred from Field A to Backfield A.
- In Backfield A, retains full attacking rights (can receive passes and execute `strike_throw` at Field B opponents).
- [gap-fill] If Team A has banked lives (), Team A may immediately consume 1 life to keep in Field A instead of transferring.
R5. Consul Entry Phase:
- When all field agents of Team A are transferred to Backfield A, Consul enters Field A as the active player.
- receives an intrinsic life counter .
- Each time is struck uncaught, decrements by 1.
R6. Termination and Victory:
- Team A loses when . Team B is declared the winner.
- Symmetrically, Team B loses when .
## 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 ().
## State representation
- Persistent state: Team rosters, agent attributes , consul identities, banked lives , consul life counters .
- 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 .
## 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 JSONCite 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}
}