Formal Specification
Fox game / Fox and Geese (Swedish traditional folk board game) — Formal Specification
Sweden · board-abstract · Confidence: high
← Back to game pageImplementation Suitability
Suitability: engine-readyFidelity: directGap-fills: 5
# Rävspel — AI-optimized specification
## General idea
A traditional Swedish asymmetric hunt board game played on a 33-point cross-shaped grid. One player commands a predatory Fox seeking to capture opposing livestock by leaping over them in checkers fashion, while the other player commands a flock of 17 Geese striving to advance down the board and encircle/immobilize the Fox or occupy the lower paddock. The game features strict directional movement constraints and perfect information.
## Formal model
- **Abstraction taken:** None — the traditional game is a fully discrete, turn-based abstract strategy game. Formalization establishes the standard 33-point cross graph , standardizes the non-backward goose movement constraint, and defines exact draw/repetition rules.
- **Player/agent count:** 2 players ( and ).
- **Turn model:** Strictly alternating sequential turns; the Geese player moves first.
## Formal rules
R1. **Board Topology:** The board is a 33-point cross graph consisting of a grid with four corners removed. Vertices are connected by orthogonal lines, with diagonal lines connecting points within the central square and the four cross arms.
R2. **Setup:**
- The Geese player places 17 Geese pieces on all 9 points of the top cross arm and all 8 points of the left and right horizontal cross arms.
- The Fox player places 1 Fox piece on the central intersection point .
R3. **Turn Order:**
- Player moves first. Players strictly alternate single-piece actions.
R4. **Goose Movement:**
- On their turn, moves one goose along a connected edge to an adjacent empty vertex .
- Non-Backward Rule: A goose may move forward (downward, ), forward-diagonally, or horizontally (), but is strictly forbidden from moving backward (upward, ) toward the initial top arm [gap-fill].
- Geese cannot jump, leap, or capture.
R5. **Fox Movement & Capture:**
- Ordinary Move: The Fox may move along any connected edge in any direction (forward, backward, sideways, diagonally) to an adjacent empty vertex.
- Leaping Capture: The Fox may capture an adjacent enemy goose at vertex by leaping over it to an immediately adjacent vacant vertex , provided form a straight line. The jumped goose is permanently removed from the board.
- Chained Leaps: If from landing vertex another legal leap is available, the Fox may continue leaping in the same turn, capturing multiple geese in sequence.
- [gap-fill] Capture is optional for the Fox; no forced capture or huffing penalty is imposed.
R6. **Geese Win Conditions:**
- Immobilization: The Geese win immediately if the Fox has zero legal moves and zero legal jumps on the Fox's turn.
- Paddock Occupation: The Geese win immediately if all 9 points of the bottom cross arm (the paddock / *hagen*) are occupied by geese.
R7. **Fox Win Condition:**
- The Fox wins immediately if the total count of remaining geese on the board drops to [gap-fill], rendering encirclement mathematically impossible.
R8. **Draw Conditions:**
- [gap-fill] Threefold Repetition: If the identical board configuration recurs 3 times with the same player to move, the game is declared a draw.
- 50-Move Rule: If 50 consecutive plies elapse without a goose capture or forward goose advance, the game is drawn.
## Edge cases
- Tie at the end condition: Not applicable — victory conditions are mutually exclusive.
- A player with no legal move: Handled by R6 — if the Fox has no legal move, the Geese win immediately. If the Geese have no legal move (extremely rare), the Geese lose [gap-fill].
- Repetition / cycles: Resolved by R8 via threefold repetition and the 50-ply draw threshold.
- Simultaneous claims on the same resource or position: Not applicable — vertices hold at most one piece; turns are sequential.
- Player elimination mid-round: Geese pieces are eliminated by capture; player elimination does not occur.
- Resource exhaustion (pieces, tokens, space, time): Geese pieces decrease monotonically upon capture (); total plies bounded by R8.
- Termination guarantee: Captures strictly reduce the geese count toward the Fox win condition (). Non-capturing cycles are bounded by the non-backward goose rule and the 50-move draw counter.
## State representation
- **Persistent state:**
- `board`: map of vertex ID .
- `current_turn`: `GEESE` or `FOX`.
- `geese_count`: integer .
- `plies_since_capture`: integer.
- `history_hashes`: list of state hashes for threefold repetition detection.
- **Per-turn ephemeral state:**
- `active_jump_chain`: sequence of coordinates visited during multi-leap.
- **Observable information:**
- Fully observable: Perfect information — entire board state and piece count are visible to both players.
## Action space
- `move_goose(from_v, to_v)`: valid edge traversal where and is empty.
- `move_fox(from_v, to_v)`: valid edge traversal to adjacent empty vertex.
- `jump_fox(from_v, victim_v, to_v)`: leaping capture sequence.
## Playability notes
- Single-player-vs-AI: Exceptionally natural — ideal for minimax search with alpha-beta pruning or MCTS. The asymmetric evaluation function (Fox maximizes goose captures / mobility; Geese maximize encirclement / forward advancement) provides deep tactical play.
- Group games (n>4): Not applicable — strictly a 1v1 duel.
- Physical-skill games: Not applicable — purely abstract strategy.
- What is lost in the adaptation: The tactile rustic feel of carved wooden pegs in a farmhouse lid and the Swedish folklore charm of "Mikael Räv."
## Implementation hints
Extremely engine-ready. 33 vertices, small branching factor (). State fits in a 64-bit bitboard or byte array. First milestone: build the 33-point graph structure, encode the non-backward goose rule, and verify that a 4-goose square block completely immobilizes an adjacent fox.
Download as JSON
Download the full game corpus entry for this game as structured JSON.
Download JSONCite this page
Fox game / Fox and Geese (Swedish traditional folk board game) (Sweden). (n.d.). Games of Countries. https://gamesofcountries.com/games/se-sweden/ravspel
@misc{gamesofcountries-se-sweden-ravspel,
title = {Fox game / Fox and Geese (Swedish traditional folk board game) (Sweden)},
year = {n.d.},
publisher = {Games of Countries},
url = {https://gamesofcountries.com/games/se-sweden/ravspel}
}