Formal Specification
Country Eraser Flipping — Formal Specification
Singapore · dexterity-small · Confidence: high
← Back to game pageImplementation Suitability
Suitability: engine-readyFidelity: probabilistic-proxyGap-fills: 2
# Country Erasers — AI-optimized specification
## General idea
Country Erasers is a turn-based 2D physics duel on a bounded rectangular table where two agents alternate flicking rectangular rubber blocks. The strategic core involves managing table edge risk while balancing precision tactical flips to land atop the enemy eraser against forceful shoves to push the opponent off the boundary.
## Formal model
- **Abstraction taken:** The 3D elastic tumble and friction of a rectangular rubber eraser is modeled on a 2D plane (default: cm). Each eraser has dimensions cm and an orientation angle . Flicks apply a forward translation vector and a discrete flip-over state variable.
- **Player/agent count:** 2 agents.
- **Turn model:** Strictly alternating sequential turns.
## Formal rules
R1. Setup: Table dimensions . Agent 1 starts at ; Agent 2 starts at . Each player controls 1 active eraser.
R2. Active Action: On an agent's turn, the agent chooses an action type and an aim angle .
- `nudge`: Low distance ( cm), low noise, zero flip-over probability.
- `power_flip`: Moderate distance ( cm), discrete tumble probability , capable of mounting atop opponent if bounding boxes intersect.
- `body_shove`: High impulse ( cm), transfer of momentum to opponent eraser upon collision.
R3. Physics & Boundary Resolution:
- New positions and bounding boxes are computed with Gaussian execution noise .
- Overlap check: If the active eraser's bounding box intersects the defender's bounding box during a `power_flip`, the active eraser mounts the defender, achieving a pin.
- Boundary check: If an eraser's center of mass crosses the table edge , it falls off the table (*ring out*).
R4. Win/Loss Conditions:
- If Agent A pins Agent B's eraser, Agent A wins immediately.
- If Agent B is knocked off the table while Agent A remains on table, Agent A wins.
- If Agent A self-ejects off the table during their own turn without pinning Agent B, Agent B wins.
R5. Stalemates & Limits: [gap-fill] A maximum of 40 turns (20 per player) is enforced. If no pin or ring-out occurs within 40 turns, the eraser with the greater distance from the nearest table edge wins.
## Edge cases
- Tie at the end condition: If both erasers fall off simultaneously during a collision, the agent who initiated the shot loses (self-elimination penalty).
- A player with no legal move: Not applicable; an on-table eraser always has all flick action options available.
- Repetition / cycles: Bounded by the 40-turn cap per game [gap-fill].
- Simultaneous claims on the same resource or position: Turns are strictly sequential; overlap evaluates only for the moving eraser upon completion of the step.
- Player elimination mid-round: Single elimination duel; the game terminates on the first decisive win condition.
- Resource exhaustion: Not applicable; 1 eraser per player.
- Termination guarantee: Guaranteed by the 40-turn maximum cap and instant win/loss triggers on pins and ring-outs.
## State representation
- Persistent state:
- `turn_count`: integer .
- `active_player`: integer .
- `game_status`: enum .
- Ephemeral state:
- `p1_pos`: , `p1_angle`: .
- `p2_pos`: , `p2_angle`: .
- Observable information: Fully observable to both agents.
## Action space
- `flick(action_type, angle, power)`:
- `action_type` .
- `angle` radians.
- `power` .
## Playability notes
- Single-player-vs-AI: Highly playable; AI evaluates geometric risk of table boundaries and calculates pin trajectories.
- Group games (n>4): Can be expanded to a 4-player deathmatch by adding 2 erasers on the remaining table sides.
- Physical-skill games: Manual finger dexterity is modeled via action-specific noise envelopes and tumble mechanics.
- What is lost: Tactile rubber grip friction against various desk wood grains, and staple spinning modifications.
## Implementation hints
2D bounding box intersection and simple vector collision mechanics. Fast evaluation makes it ideal for game tree search algorithms.
Download as JSON
Download the full game corpus entry for this game as structured JSON.
Download JSONCite this page
Country Eraser Flipping (Singapore). (n.d.). Games of Countries. https://gamesofcountries.com/games/sg-singapore/country-erasers
@misc{gamesofcountries-sg-singapore-country-erasers,
title = {Country Eraser Flipping (Singapore)},
year = {n.d.},
publisher = {Games of Countries},
url = {https://gamesofcountries.com/games/sg-singapore/country-erasers}
}