Skip to main content
Formal Specification

Puck-Slinging Table Game (Passe-Trappe) — Formal Specification

Luxembourg · dexterity-small · Confidence: low

← Back to game page

Implementation Suitability

Suitability: engine-readyFidelity: probabilistic-proxyGap-fills: 2
# Passe-Trappe — AI-optimized specification ## General idea A high-intensity simultaneous real-time puck-management game where two opposing agents on opposite halves of a partitioned rectangular board pull wooden pucks against elastic bands and fire them through a narrow central slot into the opponent's territory, striving to achieve zero pucks on their side of the board. ## Formal model - **Abstraction taken:** The continuous physical dynamics of puck sliding, wall bounces, and elastic cord release are discretized into a discrete-time tick simulation (Δt=50 ms) with a spatial grid on each court half. - **Player/agent count:** 2 agents (A0 and A1). - **Turn model:** Real-time simultaneous execution: agents cycle through a state machine of `{Acquire Puck, Aim & Pull Elastic, Release, Re-aim}`. ## Formal rules R1. Setup: Total puck count N=10. At t=0, Court 0 holds 5 pucks (P0=5), Court 1 holds 5 pucks (P1=5). Central divider has one slot of width Wslot. R2. Agent Action Cycle: In real time, each agent performs: - `load_puck()`: Selects a resting puck from own court (costs 2 ticks). - `draw_elastic(angle, power)`: Pulls puck against rear elastic cord (costs 3 ticks). - `release()`: Propels puck along vector v→. R3. Physics & Slot Resolution: - Trajectory is simulated: puck rebounds off side walls. - If trajectory passes through the central slot interval [−Wslot/2,Wslot/2] at x=0: puck successfully crosses into opponent's court (Pown←Pown−1,Popp←Popp+1). - If trajectory misses slot: puck rebounds back into shooter's own court (P counts unchanged). - [gap-fill] Slot collision: If two pucks arrive at the slot simultaneously from opposite directions, both bounce back to their respective courts. R4. Win condition: At any tick t, if P0==0 (meaning P1==10), Agent A0 wins immediately. If P1==0, Agent A1 wins immediately. R5. [gap-fill] Max duration cap: If neither agent achieves P=0 within Tmax⁡=1200 ticks (60 seconds), the agent with fewer pucks on their side (Pi<P1−i) wins; if P0=P1=5, the match is a draw. ## Edge cases - Tie at the end condition: Achieved only at Tmax⁡ timeout if puck counts are identical (P0=P1=5) per R5. - A player with no legal move: Not applicable — if Pi>0, an agent always has pucks to load and shoot; if Pi=0, the agent has won. - Repetition / cycles: Dynamic puck exchange can fluctuate back and forth; strict termination is guaranteed by the Tmax⁡=1200 tick timeout (R5). - Simultaneous claims on the same resource or position: Simultaneous slot passage resolves via elastic head-on collision bounce (R3). - Player elimination mid-round; turn order repair: Bout terminates immediately when one player empties their court (R4). - Resource exhaustion: The total pool of 10 pucks is strictly conserved (P0+P1=10). - Termination guarantee: Provably terminates within at most 1200 ticks due to hard timeout cap. ## State representation - Persistent state: Global tick t∈[0..1200], match score [S0,S1]. - Per-tick state: Puck count per court (P0,P1), active airborne puck vectors, agent arm states (idle, loading, aiming, releasing). - Observable information: Fully observable public game (all puck positions and opponent movements are visible in real time). ## Action space - `load_puck(puck_id)`: Grab available resting puck. - `aim_and_release(angle, tension)`: Specify launch angle θ∈[−45∘,+45∘] and cord pull tension τ∈[0.5,1.0]. ## Playability notes - Single-player-vs-AI: Natural — 1 human player using mouse drag-and-release to sling pucks against an AI agent running reactive aiming routines. - Group games (n>4): Extends to a 4-player quadrant board (*Four-way Passe-Trappe*) or round-robin 1v1 tournament brackets. - Physical-skill games: Motor dexterity and speed are modeled as execution tick latency and aim variance. - What is lost: The loud slapping sound of wood on wood, physical fingers caught in the elastic snap, and frantic table vibrations. ## Implementation hints Fast-paced 2D arcade physics state machine. First milestone: implement P0+P1=10 puck transfer loop with a simple slot hit probability function P(cross)=f(angle) and win check.

Download as JSON

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

Download JSON
Cite this page

Puck-Slinging Table Game (Passe-Trappe) (Luxembourg). (n.d.). Games of Countries. https://gamesofcountries.com/games/lu-luxembourg/passe-trappe

@misc{gamesofcountries-lu-luxembourg-passe-trappe,
  title = {Puck-Slinging Table Game (Passe-Trappe) (Luxembourg)},
  year = {n.d.},
  publisher = {Games of Countries},
  url = {https://gamesofcountries.com/games/lu-luxembourg/passe-trappe}
}