Skip to main content
Formal Specification

Countries and Cities on Dirt (Polish Knife Land Conquest) — Formal Specification

Poland · dexterity-throw · Confidence: low

← Back to game page

Implementation Suitability

Suitability: engine-readyFidelity: probabilistic-proxyGap-fills: 2
# Państwa-miasta na ziemi — AI-optimized specification ## General idea A geometric territorial elimination game played on a continuous 2D circular map. Agents stand within their owned polygons, throwing a ballistic knife into opposing territories to bisect enemy polygons and annex adjacent severed land fragments. An agent is eliminated when their total polygon area drops below a minimal viability threshold. ## Formal model - **Abstraction taken:** The continuous knife throw and ground-penetration physics are modeled as a 2D landing coordinate Phit∈ℝ2 with a stochastic stick orientation angle θblade∈[0,π) and binary penetration success probability Pstick(dexterity). The map is represented as a planar polygon partition 𝒫={P1,P2,…,PN} of a unit disk D={(x,y)|x2+y2≤1}. - **Player/agent count:** 2 to 4 agents indexed i∈{0..N−1}. - **Turn model:** Sequential cyclic turn order. ## Formal rules R1. **Setup:** The unit disk D (area Atotal=π) is partitioned into N equal radial wedges P0,…,PN−1 (each area Ai=π/N). R2. **Throw declaration:** Active agent i chooses a target coordinate (xt,yt) lying inside an opponent's territory polygon Pj (j≠i). - The agent's physical stance requires their center of gravity to remain within Pi. - Realized landing point Pland∼𝒩((xt,yt),σaim2I). - Stick success check: Pstick=clamp(0.70+0.20⋅dexterity,0.30,0.95). - Realized blade line orientation: θ∼Uniform(0,π). R3. **Geometric bisection & annexation:** - If Pland∈Pj and the stick roll succeeds: - The line L(Pland,θ) splits polygon Pj into two sub-polygons Pj,1 and Pj,2. - [gap-fill] The thrower annexes the sub-polygon Pj,k that shares the longer boundary edge with thrower's polygon Pi, merging it into Pi←Pi∪Pj,k. - Opponent's territory updates to Pj←Pj∖Pj,k. - If the throw misses Pj or fails to stick: No territory updates; turn ends. R4. **Elimination threshold:** - After territory updates, if an agent's total area Area(Pk)<Amin⁡=0.05⋅Atotal: - Agent k is eliminated from the game. - [gap-fill] Any residual sub-threshold area of Pk is absorbed proportionally by all adjacent neighboring territories. R5. **Victory condition:** When only one surviving agent remains (holding >95% of total map area), that agent wins immediately. ## Edge cases - **Tie at the end condition:** Not applicable; territorial annexation is strictly monotonic, leading to a single survivor. - **A player with no legal move:** If an agent's territory becomes non-contiguous or too small to target an opponent, they are eliminated by R4. - **Repetition / cycles:** Bounded because successful hits transfer strictly non-zero area ΔA≥ϵ>0 from defenders to attackers; with finite total area π, the state must reach an absorbing single-agent monopoly. - **Simultaneous claims on the same resource or position:** Turns are sequential; polygon clipping operations produce mutually disjoint planar partitions at all times. - **Player elimination mid-round; turn order repair:** Eliminated agents are removed from the active turn rotation list without disrupting cyclic order. - **Resource exhaustion:** Total area Atotal=π is strictly conserved. - **Termination guarantee:** The Markov process over polygon areas with absorbing boundaries at Area<Amin⁡ guarantees almost sure termination in finite steps. ## State representation - **Persistent state:** `territory_polygons` (Map[AgentId, MultiPolygon2D]), `active_agents` (List[AgentId]), `active_turn_index` (Int). - **Per-throw ephemeral state:** `target_coord` (Coord2D), `landing_coord` (Coord2D), `blade_angle` (Float), `is_stuck` (Bool). - **Observable information:** Fully observable state; all territory boundary coordinates and area percentages are public. ## Action space - `throw_knife(target_x: Float, target_y: Float)`: Aims throw at target coordinate within disk D. ## Playability notes - **Single-player-vs-AI:** Highly engaging geometric strategy duel (human calculating optimal Voronoi/polygon cut lines against AI bots). - **Group games (n>4):** Reduces to 2–4 agents natively. - **Physical-skill games:** Knife rotation, angle, and ground dampness abstracted to scalar precision σaim and success probability Pstick. - **What is lost:** Tactile thumb flick on the scyzoryk blade, feeling soil density, and physical balancing acrobatics on shrinking plots. ## Implementation hints Use standard 2D computational geometry libraries (e.g. Shapely, Clipper, or simple line-polygon intersection algorithms). First milestone: implement 2-agent disk bisection with straight chord cuts, tracking polygon areas after each successful hit.

Download as JSON

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

Download JSON
Cite this page

Countries and Cities on Dirt (Polish Knife Land Conquest) (Poland). (n.d.). Games of Countries. https://gamesofcountries.com/games/pl-poland/panstwa-miasta-na-ziemi

@misc{gamesofcountries-pl-poland-panstwa-miasta-na-ziemi,
  title = {Countries and Cities on Dirt (Polish Knife Land Conquest) (Poland)},
  year = {n.d.},
  publisher = {Games of Countries},
  url = {https://gamesofcountries.com/games/pl-poland/panstwa-miasta-na-ziemi}
}