Formal Specification
Stone War (Greek Folk Mock-Battle) — Formal Specification
Greece · wrestling-combat · Confidence: medium
← Back to game pageImplementation Suitability
Suitability: engine-readyFidelity: probabilistic-proxyGap-fills: 3
# Petropolemos — AI-optimized specification
## General idea
A discrete, two-team tactical line-combat and territorial control game on a 2D grid. Two factions manage shield-bearers, skirmishers, and stone throwers, advancing across neutral territory to capture the opposing faction's defensive base line while managing ammunition supplies, cover mitigation, and suppression damage.
## Formal model
- **Abstraction taken:** 2D grid field (, e.g. cells). Team 0 Base: ; Team 1 Base: ; Neutral Zone: . Stone throwing is modeled as discrete projectile attacks with distance-dependent accuracy and cover mitigation.
- **Player/agent count:** 2 teams (Team 0 and Team 1), each with agents (, default ).
- **Turn model:** Real-time ticked simultaneous execution.
## Formal rules
R1. State tracking: Per agent : `(x, y)`, `team` , `role` , `health` , `ammo` .
R2. Movement & Shield Dynamics:
- Agents select move vectors .
- Shield-bearers provide damage mitigation to adjacent friendly skirmishers in the same or adjacent orthogonal cells.
R3. Projectile Attack Action:
- Skirmishers holding `ammo > 0` may execute `throw_stone(target_agent_id)` at an enemy agent within range cells.
- Consumes 1 unit of `ammo`.
- [gap-fill] Hit probability: .
- If hit: Target loses 25 health (`health -= 25`). If `health <= 0`, agent enters `retreat` state and must move back to their home base to heal before re-entering combat.
R4. Ammunition Foraging:
- An agent occupying a cell with loose stones can execute `gather_ammo()` to replenish `ammo += 2`.
R5. Win Conditions:
- Territorial Capture Win: If a team advances and maintains active agents inside the opponent's home base territory for 5 consecutive ticks, that team wins the match.
- Superiority Win: If all opponent agents are simultaneously in `retreat` status, the attacking team claims victory.
R6. [gap-fill] Turn Limit: Match capped at 400 ticks. If tick 400 expires without base capture, the team controlling the forward-most line of scrimmage wins.
## Edge cases
- Tie at the end condition: If tick 400 expires with identical territorial line averages, [gap-fill] the team with higher total health sum wins.
- A player with no legal move: Waiting / taking cover is always legal.
- Repetition / cycles: Bounded by the strict 400-tick limit (R6).
- Simultaneous claims on the same resource or position: Friendly agents may share cells; enemy agents cannot co-occupy cells (melee is barred per honor code; agents bounce back).
- Player elimination mid-round; turn order repair: Agents in `retreat` heal at home base and return; total agent count remains constant.
- Resource exhaustion: Ammunition is finite per foraging pool but replenishes at baseline.
- Termination guarantee: Enforced by the finite tick limit ().
## State representation
- Persistent state:
- `agents`: Array of structs: `[team, role, x, y, health, ammo, status]`.
- `base_control_timer`: Array of 2 integers tracking consecutive base occupation ticks.
- `tick`: Integer counter.
- Per-tick ephemeral state:
- `projectiles_in_flight`: List of active trajectory structs.
- Observable information: Fully observable.
## Action space
- `move(direction)`: Available to all active agents.
- `throw_stone(target_id)`: Executable by skirmishers with `ammo > 0`.
- `raise_shield()`: Executable by shield-bearers to buff adjacent allies.
- `gather_ammo()`: Available on neutral ground cells.
## Playability notes
- Single-player-vs-AI: Excellent tactical combat environment (squad-level combined arms: shields + ranged fire + flanking).
- Group games (n>4): Easily scales to agents per faction.
- Physical-skill games: Physical rock-slinging and pain deterrence mapped onto stochastic hit tables, health points, and retreat cycles.
- What is lost: Physical rock impacts, battlefield terrain realism, and traditional honor shouts (*μπέσσα*).
## Implementation hints
- Implement as a simultaneous-step grid strategy environment.
- Agent heuristics: Shield-bearers should form protective walls 1 cell ahead of skirmishers, while skirmishers prioritize focusing fire on unshielded enemies.
Download as JSON
Download the full game corpus entry for this game as structured JSON.
Download JSONCite this page
Stone War (Greek Folk Mock-Battle) (Greece). (n.d.). Games of Countries. https://gamesofcountries.com/games/gr-greece/petropolemos
@misc{gamesofcountries-gr-greece-petropolemos,
title = {Stone War (Greek Folk Mock-Battle) (Greece)},
year = {n.d.},
publisher = {Games of Countries},
url = {https://gamesofcountries.com/games/gr-greece/petropolemos}
}