Skip to main content
Formal Specification

Hong Kong Palm Slap Reflex Game (Slap Ginger / Hands Reaction Duel) — Formal Specification

Hong Kong · dexterity-small · Confidence: low

← Back to game page

Implementation Suitability

Suitability: adaptation-requiredFidelity: probabilistic-proxyGap-fills: 5
# Paak Goeng — AI-optimized specification ## General idea A simultaneous-decision reflex, deception, and timing duel based on Hong Kong *Paak Goeng* (Palm Slap Reflex / "Slap Ginger"). One player acts as the Attacker seeking to execute a lightning-fast palm slap against the Defender's exposed hands, while the Defender reads body language to dodge incoming strikes while avoiding deceptive feints that incur penalty free slaps. ## Formal model - **Abstraction taken:** Millisecond-level neuromuscular reaction times and micro-flinches are formalized as a simultaneous normal-form matrix game per exchange tick. Deception, feints, and positional dodges are modeled as discrete strategic choices over hand targets. - **Player/agent count:** 2 players (Player 0 and Player 1) occupying alternating roles of Attacker (A) and Defender (D). - **Turn model:** Simultaneous-move micro-exchanges. Each exchange, both players simultaneously select an action from their respective role action sets. ## Formal rules R1. **Setup & Roles:** Players face each other with hands positioned in matching left/right channels {L,R}. Initial roles (A and D) are decided by Rock-Paper-Scissors. Both players start at score =0. R2. **Action Selection:** On each exchange tick, players secretly and simultaneously submit actions: - Attacker action set: {STRIKE_L,STRIKE_R,FEINT,WAIT}. - Defender action set: {DODGE_L,DODGE_R,DODGE_BOTH,HOLD}. R3. **Outcome Resolution:** - **Hit (拍中):** If Attacker chooses STRIKE_X (X∈{L,R}) and Defender did NOT dodge that side (i.e. Defender chose HOLD or DODGE_Y where Y≠X): Attacker scores +1 point and RETAINS the Attacker role. - **Miss (拍空):** If Attacker chooses STRIKE_X and Defender chose DODGE_X or DODGE_BOTH: The strike hits empty air. Attacker scores 0 points, and ROLES SWAP (D becomes new Attacker, A becomes new Defender). - **Flinch Foul (偷走):** If Attacker chooses FEINT and Defender chooses any dodge action (DODGE_L, DODGE_R, or DODGE_BOTH): Defender flinches. Attacker receives an immediate free undefended strike (guaranteed +1 point on subsequent tick, retaining Attacker role). - **Standoff:** If Attacker chooses FEINT and Defender chooses HOLD, or if Attacker chooses WAIT: No points are awarded; roles remain unchanged. R4. **Inactivity Limit:** If 3 consecutive exchanges result in WAIT or uncommitted feints, roles automatically swap to prevent stalling. R5. **Victory Condition:** The first player to reach 5 points wins the match. R6. [gap-fill] Simultaneous-move normal form matrix abstraction of continuous physical hand reactions. R7. [gap-fill] Target score threshold: Match played to exactly 5 points (Starget=5). R8. [gap-fill] Free slap penalty mechanics: A flinch foul transitions the game to an intermediate state where Defender must execute `HOLD` while Attacker executes `STRIKE`, awarding 1 point deterministically. R9. [gap-fill] Inactivity threshold: Maximum 3 consecutive non-striking exchanges before role swap is enforced. R10. [gap-fill] Loop-breaking round cap: Maximum 100 total exchanges per match; if unreached, player with higher score wins; ties broken by fewest flinches committed. ## Edge cases - **Tie at the end condition:** Not applicable; points are awarded in discrete increments to the active Attacker, producing a unique first-to-5 winner. - **A player with no legal move:** Both Attacker and Defender always have non-empty action sets. - **Repetition / cycles:** Indefinite waiting or alternating misses are bounded by R4's inactivity swap and R10's 100-exchange match limit. - **Simultaneous claims on the same resource or position:** Resolved simultaneously via the explicit payoff matrix in R3. - **Player elimination mid-round:** Not applicable (2-player point race). - **Resource exhaustion:** Points accumulate monotonically toward 5. - **Termination guarantee:** Guaranteed by absorbing victory state (Score≥5) and R10's 100-exchange cap. ## State representation - **Persistent state:** `target_score: 5`, `max_exchanges: 100`. - **Per-player state:** - `score: int` - `flinches_committed: int` - `current_role: str in {ATTACKER, DEFENDER}` - **Per-turn ephemeral state:** - `exchange_count: int` - `consecutive_waits: int` - `pending_penalty_strike: bool` - `last_actions: Dict[agent_id, Action]` - **Observable information:** Fully observable game state. Past moves, scores, roles, and flinch histories are public knowledge. ## Action space - `strike(hand)`: Parameters: `hand in {LEFT, RIGHT}`. Preconditions: agent is Attacker. - `feint()`: Parameters: none. Preconditions: agent is Attacker. - `wait()`: Parameters: none. Preconditions: agent is Attacker. - `dodge(target)`: Parameters: `target in {LEFT, RIGHT, BOTH}`. Preconditions: agent is Defender, no penalty lock. - `hold()`: Parameters: none. Preconditions: agent is Defender. ## Playability notes - **Single-player-vs-AI:** Excellent game-theoretic testbed. AI learns mixed strategies over strike distributions and detects human feint vulnerability. - **Group games (n>4):** Operates natively as a 1-on-1 king-of-the-hill tournament bracket. - **Physical-skill games:** Physical hand acceleration and visual processing speed are abstracted into mixed-strategy matrix payoffs and feint-detection probabilities. - **What is lost in the adaptation:** Physical skin redness, palm stinging sensation, auditory slap snaps, and psychological staring contests. ## Implementation hints - Pure zero-sum matrix game / Markov decision process. - State space is compact: `(score_0, score_1, role, consecutive_waits, penalty_flag)`. - Branching factor: 4 actions for Attacker × 4 actions for Defender = 16 joint actions per exchange. - First milestone: 2-agent simultaneous simulator verifying payoff resolution, role swapping on misses, and free slap penalty execution.

Download as JSON

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

Download JSON
Cite this page

Hong Kong Palm Slap Reflex Game (Slap Ginger / Hands Reaction Duel) (Hong Kong). (n.d.). Games of Countries. https://gamesofcountries.com/games/hk-hong-kong/paak-goeng

@misc{gamesofcountries-hk-hong-kong-paak-goeng,
  title = {Hong Kong Palm Slap Reflex Game (Slap Ginger / Hands Reaction Duel) (Hong Kong)},
  year = {n.d.},
  publisher = {Games of Countries},
  url = {https://gamesofcountries.com/games/hk-hong-kong/paak-goeng}
}