Skip to main content
Formal Specification

The Pike (Carps and Pike River Tag) — Formal Specification

Ukraine · chase-tag · Confidence: medium

← Back to game page

Implementation Suitability

Suitability: adaptation-requiredFidelity: discretizedGap-fills: 2
# Shchupak (Щупак) — AI-optimized specification ## General idea A classic Ukrainian aquatic-themed pursuit and progressive obstacle-chain tag game (*Shchupak* or *The Pike*). A lone predator fish (the Pike) patrols a central river corridor between two safe banks. As schools of Carps (*карасі*) sprint across the channel on signal, tagged fish freeze on the spot and link hands to form an expanding human net barrier (*сітка* / *ятір*), narrowing open swimming lanes across successive crossing waves until a single "Golden Carp" survives. ## Formal model - **Abstraction taken:** 2D continuous/ticked corridor crossing model (15.0m×25.0m). Safe sanctuary banks at y≤0 and y≥25.0m. The river channel y∈(0,25.0m) contains the free-roaming Pike and an expanding static multi-node barrier graph (the Net) with arm-reach capture zones. - **Player/agent count:** 1 Pike agent (P), N Carp agents (C1,…,CN, with N∈[5,29]). - **Turn model:** Synchronous discrete simulation ticks (1 tick = 0.1 seconds) organized into sequential crossing waves until 1 carp remains. ## Formal rules R1. Setup & Channel Dimensions: - Playing field: x∈[−7.5,+7.5] meters, y∈[0.0,25.0] meters. - Bank 0 (South): y≤0.0m; Bank 1 (North): y≥25.0m. - Pike initialized in river center: 𝐱P=(0.0,12.5m), vmax=5.0m/s. - All Carps initialize in Bank 0: `status = FREE`, vmax=4.5m/s. - Net graph 𝒩=∅, `wave_number = 1`, `target_bank = 1`. R2. Wave Initiation & Bank Departure Countdown: - Pike submits `call_crossing_signal()` (*«Раз, два, три — карасі, пливіть!»*). - Departure countdown timer tdepart=3.0s (30 ticks) starts. - Every carp must cross from sanctuary into the river channel before tdepart=0. - **Hesitation Penalty:** Any carp remaining behind bank at t=0 is auto-forced into river at y=0.5m with zero initial velocity [gap-fill]. R3. Movement & River Crossing: - Carps steer toward target bank: `swim_sprint(vx, vy)` (v≤4.5m/s). - Pike hunts freely within channel: `pike_pursuit_sprint(vx, vy)` (v≤5.0m/s). - Reaching the target bank (y≥25.0m for North, y≤0.0m for South) grants instant immunity for that wave. R4. Tagging & Net Chain Expansion (*Сітка / Ятір*): - **Pike Tag:** If ‖𝐱P−𝐱k‖≤0.80m while Ck is in channel: - Carp Ck is captured: `status[k] = NET_NODE`. - Ck freezes at current coordinates 𝐱k. - Captives within 1.8m link hands, forming static polygonal barrier chains. - **Net Arm Tag:** Net nodes cannot relocate, but may execute `reach_tag_arm(direction)` extending reach radius rnet=1.20m. Any free carp entering this radius is captured and attached to the net. R5. Wave Turnover & Role Transition: - A wave terminates when all active carps either reach the safe bank or are captured. - Active carps regroup; `target_bank` toggles (1↔0); next wave starts. R6. Match Termination & Golden Carp Victory: - When exactly 1 free carp remains (`active_carps_count == 1`): - Game terminates immediately. - The lone survivor is crowned **The Golden Carp** (*Золотий карась*) (+100 points). - The Golden Carp earns the right to become the Pike in the subsequent match. ## Edge cases - Tie at the end condition: If the final 2 carps are captured simultaneously, a 1-on-1 river sprint duel decides the Golden Carp [gap-fill]. - A player with no legal move: Net nodes cannot move bases; they execute arm-reaching actions to assist the Pike. - Repetition / cycles: The number of free carps strictly decreases monotonically each wave (ΔN≥1 until 1 remains), guaranteeing finite progression. - Simultaneous claims on the same position: Evaluated via standard 2D Euclidean distance thresholds. - Elimination mid-round and turn-order repair: Captured carps transition seamlessly into net nodes without pausing the active wave. - Resource exhaustion: Fixed continuous field space. - Termination guarantee: Monotonic reduction in surviving carps guarantees game terminates in ≤N−1 waves (≤30 waves total). ## State representation - Persistent state: - `wave_number`: Integer ≥1. - `active_carps`: Set of active Carp IDs. - `net_nodes`: List of captured node coordinates and link adjacency graph. - Per-tick ephemeral state: - `wave_clock`: Float seconds. - `depart_timer`: Float [0.0,3.0] seconds. - `target_bank_idx`: Enum ∈{0,1}. - `pike_pos`: Coordinate (x,y). - `carp_positions`: Map of Carp ID →(x,y). - `carp_velocities`: Map of Carp ID →(vx,vy). - Observable information: Fully observable positions of all carps, Pike, net chain links, and safe bank boundaries. ## Action space - `call_crossing_signal()`: Pike wave trigger. - `swim_sprint(vx, vy)`: Carp steering and speed. - `pike_pursuit_sprint(vx, vy)`: Pike predatory pursuit. - `reach_tag_arm(direction)`: Net node static arm reach tag. ## Playability notes - Single-player-vs-AI: Electrifying evasion-survival and spatial routing game. As Carp, player must navigate shrinking river corridors between expanding human nets while reading the Pike's pursuit angle; as Pike, player strategically herds schools of fish into existing net traps. - Group reduction: Reducible to 1 Pike and 5 Carps (6 players). - Physical-skill games: Acceleration physics, lateral cutting agility, arm grasp reach radii, and bottleneck corridor avoidance are modeled in 2D continuous space. - What is lost: The splashing cool river water of the Dnieper floodplains (*плавні*), the breathless shouts of *"Карасі, пливіть!"*, and the hilarious panic of diving between linked arms. ## Implementation hints 2D continuous kinematic arena with static polyline obstacle collision checks for the human net. First milestone: build bank-to-bank crossing cycles and Pike distance tag validation before adding static net chain expansion and arm-reach tagging.

Download as JSON

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

Download JSON
Cite this page

The Pike (Carps and Pike River Tag) (Ukraine). (n.d.). Games of Countries. https://gamesofcountries.com/games/ua-ukraine/shchupak

@misc{gamesofcountries-ua-ukraine-shchupak,
  title = {The Pike (Carps and Pike River Tag) (Ukraine)},
  year = {n.d.},
  publisher = {Games of Countries},
  url = {https://gamesofcountries.com/games/ua-ukraine/shchupak}
}