Formal Specification
Big Fish Game — Formal Specification
Iceland · chase-tag · Confidence: low
← Back to game pageImplementation Suitability
Suitability: engine-readyFidelity: discretizedGap-fills: 4
# Stórfiskaleikur — AI-optimized specification
## General idea
A traditional Icelandic large-group running tag game reflecting maritime folklore. One central predator (the "Big Fish" or "Shark") stands in the open "sea" between two safe shores; upon the call *"Komið allir mínir fiskar!"*, all prey ("Small Fish") must sprint across the open sea to reach the opposite shore. Tagged prey are permanently converted into predators, forming an ever-growing hunting line across successive crossing waves until only a single champion survivor remains.
## Formal model
- **Abstraction taken:** The continuous open field or gymnasium is discretized into a 2D grid of dimensions (Width Length), bounded by Shore 0 () and Shore 1 (), separated by the open Sea (). Player sprinting, steering, and tagging are modeled via discrete time-ticks () where agents move up to their speed allowance each tick. [gap-fill] Grid dimensions, tick movement limits, and tag proximity radii formalize standard playground rules.
- **Player/agent count:** agents (standard model: , initially 1 Predator, 9 Prey).
- **Turn model:** Wave-based execution; within each crossing wave, all agents act simultaneously on discrete micro-ticks.
## Formal rules
R1. Setup: The playing grid has length and width cells [gap-fill]. Safe Shore A occupies ; Safe Shore B occupies . Initially, Agent 0 is designated the Big Fish (Predator), positioned at . All other agents () are Small Fish (Prey), starting at Shore A (). Current destination shore is set to Shore B.
R2. The Call & Wave Trigger: The Predator broadcasts the call *"Komið allir mínir fiskar!"*. All active Prey are compelled to leave their current safe shore and move toward the opposite target shore. Hesitation or refusing to move after 3 ticks compels automatic forward movement [gap-fill].
R3. Simultaneous Tick Movement: Each wave consists of a maximum of ticks. On each tick:
- Each Prey agent selects a movement vector with advancing toward the target shore.
- Each Predator agent selects a movement vector with aiming to intercept Prey trajectories.
R4. Tagging & Conversion:
- At the end of each tick, if the Euclidean distance between any Predator and any Prey is cells (tag radius), the Prey is tagged (*klukkaður*).
- Tagged Prey immediately convert to Predator status for the remainder of the game.
- Prey agents that reach the target shore ( or ) become safe for the rest of the active wave.
R5. Wave Conclusion & Shore Alternation:
- The wave ends when all active Prey have either reached the safe shore or been tagged.
- Target shore flips: Shore B becomes the starting shore, Shore A becomes the new target shore (and vice versa).
- All predators reposition to the open Sea () to prepare for the next call.
R6. Victory Condition: Waves repeat until exactly **1 surviving Small Fish** remains. That final surviving agent is declared the ultimate winner (*Sigurvegari*) and starts as the Big Fish in the subsequent match.
## Edge cases
- Tie at the end condition: If in the final wave all remaining multiple prey are tagged on the exact same tick, the prey agent that reached the furthest forward -coordinate toward the target shore is declared the winner [gap-fill]; if still tied, a 1v1 sprint playoff is held.
- A player with no legal move: Not applicable — spatial movement is always possible within grid boundaries.
- Repetition / cycles: Bounded strictly because predator count is monotonically non-decreasing () and prey count is monotonically decreasing, guaranteeing convergence to .
- Simultaneous claims on the same resource or position: Multiple agents may occupy the same grid cell; tagging triggers independently for all valid predator-prey pairs within tag radius.
- Player elimination mid-round; turn order repair: Tagged players are not removed; their role flag dynamically updates from `PREY` to `PREDATOR`, integrating them into the hunting cohort for the next wave.
- Resource exhaustion: Grid space is fixed; player population is strictly conserved ().
- Termination guarantee: Guaranteed by monotonic conversion of prey to predators in each wave, with within at most waves.
## State representation
- Persistent state:
- `agent_roles`: array of size , each storing `{PREDATOR, PREY}`.
- `surviving_prey_count`: integer.
- `current_target_shore`: `{SHORE_A, SHORE_B}`.
- `wave_number`: integer.
- Per-wave ephemeral state:
- `agent_positions`: array of `(x, y)` coordinates.
- `prey_safe_status`: array of booleans indicating if prey reached target shore in current wave.
- `current_tick`: integer `[1..T_wave]`.
- Observable information:
- Complete information: all agent positions, speeds, roles, and shore boundaries are fully public.
## Action space
- Prey action: `move_to(dx, dy)` (Precondition: ).
- Predator action: `intercept_move(dx, dy)` (Precondition: ).
## Playability notes
- Single-player-vs-AI: Natural — human controls a single Small Fish attempting to evade a growing swarm of AI predators across successive waves.
- Group games (n>4): Plays up to 30 agents naturally; reducing to 4 agents (1 predator, 3 prey) preserves full wave-evasion dynamics.
- Physical-skill games: Real-time agility and lateral evasion are abstracted into 2D directional vectors and speed attributes.
- What is lost in the adaptation: The chaotic physical energy of dozens of children swarming past outstretched arms is regularized into discrete spatial grid navigation.
## Implementation hints
- Implement prey AI with potential field navigation: attractive force toward target shore , repulsive force away from nearest predators.
- Predator AI can use standard pursuit/interception algorithms targeting the closest untagged prey.
- Suggested first milestone: implement R1–R5 (grid movement loop, proximity tag check, wave completion, and role conversion).
Download as JSON
Download the full game corpus entry for this game as structured JSON.
Download JSONCite this page
Big Fish Game (Iceland). (n.d.). Games of Countries. https://gamesofcountries.com/games/is-iceland/storfiskaleikur
@misc{gamesofcountries-is-iceland-storfiskaleikur,
title = {Big Fish Game (Iceland)},
year = {n.d.},
publisher = {Games of Countries},
url = {https://gamesofcountries.com/games/is-iceland/storfiskaleikur}
}