Formal Specification
Three-Flick Land Grab — Formal Specification
South Korea · dexterity-throw · Confidence: low
← Back to game pageImplementation Suitability
Suitability: engine-readyFidelity: probabilistic-proxyGap-fills: 1
# Ddangttameokgi — AI-optimized specification
## General idea
A turn-based 2D territory-expansion game where agents execute three consecutive flick displacement vectors from their home territory. If the third flick successfully navigates back into the agent's existing sovereign territory without going out of bounds, the enclosed polygon is annexed into the agent's permanent domain. The agent controlling the largest surface area when space is exhausted wins.
## Formal model
- **Abstraction taken:** Continuous dirt surface is modeled as a 2D discrete grid (, total 2500 cells). Neutral cells , Agent 1 territory , Agent 2 territory .
- **Player/agent count:** 2 agents ().
- **Turn model:** Sequential single-sortie turns. A successful territory annexation grants an immediate bonus sortie up to max 3 consecutive sorties per turn.
## Formal rules
R1. **Initial State:** Grid dimensions . Agent 1 starts with a corner base at ; Agent 2 starts with a corner base at . Unclaimed territory fraction .
R2. **Sortie Action Definition:** An active agent submits a 3-step flick trajectory action where each with magnitude and angle .
R3. **Kinematic Execution & Perturbation:**
- Starting point (chosen on current border).
- Waypoints resolved with noise: , where .
R4. **Annexation Verification:**
- Valid Sortie Checks:
1. All (in bounds).
2. No point lands inside opponent territory.
3. (must terminate inside own territory).
- If valid: Polygon is rasterized onto grid . All cells inside not owned by opponent become .
- Agent earns bonus sortie on current turn (capped at 3).
- If invalid: Sortie fails; grid is unchanged, and turn ends immediately.
R5. **Turn Handover:** Turn passes to the other agent.
R6. **Match Termination:** The match terminates when neutral cells drop to (95% of the board claimed) or turn count reaches .
R7. **Win Condition:** The agent with the strictly higher count of controlled grid cells wins.
R8. [gap-fill] Area Tie-breaker:** If cell counts are exactly equal, the agent with the higher single-sortie expansion maximum wins.
## Edge cases
- Tie at the end condition: Handled by R8 via peak single-sortie area; if still tied, a sudden-death 1-sortie challenge is played.
- A player with no legal move: Not applicable; an agent can always attempt a minimal 3-flick sortie from any border cell.
- Repetition / cycles: Bounded; every successful sortie strictly increases monotonically, and turns are capped at .
- Simultaneous claims on the same resource or position: Turns are sequential; territory claimed becomes sovereign immediately on rasterization.
- Player elimination mid-round; turn order repair: If an agent's base is completely swallowed (), that agent is immediately eliminated.
- Resource exhaustion (pieces, tokens, space, time): Neutral grid cells decrease monotonically toward zero.
- Termination guarantee: Monotonic cell consumption combined with hard turn limit provably guarantees termination.
## State representation
- **Persistent state:** Grid dimensions , agent dexterity parameters , turn limit .
- **Per-turn ephemeral state:** Territory grid matrix , current territory areas , active player , consecutive bonus sortie counter.
- **Observable information:** Fully observable; perfect information on grid cell ownership and player boundaries.
## Action space
- `execute_sortie(start_point, v1, v2, v3)`: Parameters: `start_point` , displacement vectors . Precondition: agent is active and start point is on friendly boundary.
## Playability notes
- Single-player-vs-AI: Highly strategic spatial geometry game; AI computes optimal triangle vectors to maximize area while minimizing overshoot failure risks.
- Group games (n>4): Natively scales to 3 or 4 players starting from 4 corners of the board.
- Physical-skill games: Tactile thumb flicks and pebble friction on dirt are discretized into 2D vector perturbations.
- What is lost in the adaptation: The tactile feel of scratching line borders into dirt with a sharp twig and measuring disputed land with thumb-to-pinky hand spans (*ppyeom*).
## Implementation hints
Low-to-medium complexity. The grid rasterization requires standard scanline polygon filling or `matplotlib.path.Path.contains_points`. First milestone: implement the 3-flick vector chain and verify polygon rasterization on a 2D numpy array, then add the border-return check.
Download as JSON
Download the full game corpus entry for this game as structured JSON.
Download JSONCite this page
Three-Flick Land Grab (South Korea). (n.d.). Games of Countries. https://gamesofcountries.com/games/kr-south-korea/ddangttameokgi
@misc{gamesofcountries-kr-south-korea-ddangttameokgi,
title = {Three-Flick Land Grab (South Korea)},
year = {n.d.},
publisher = {Games of Countries},
url = {https://gamesofcountries.com/games/kr-south-korea/ddangttameokgi}
}