Skip to main content
Formal Specification

Tee-toe-taa (Manx Noughts and Crosses / Teetotum) — Formal Specification

Isle of Man · board-abstract · Confidence: high

← Back to game page

Implementation Suitability

Suitability: engine-readyFidelity: directGap-fills: 1
# Tee-toe-taa — AI-optimized specification ## General idea A hybrid abstract board and lot-driven alignment game played on a 3×3 grid. Two agents alternate spinning a four-sided teetotum top that dictates placement, capture, or movement rights, striving to align 3 tokens in a straight line while dynamically responding to stochastic action modifiers. ## Formal model - **Abstraction taken:** Direct formalization. The 9-cell board is represented as a graph G=(V,E) with 9 vertices and 8 winning 3-in-a-row lines. The four-sided top is modeled as a uniform discrete randomizer L∈{T,A,N,E}. - **Player/agent count:** 2 agents (A0 and A1). - **Turn model:** Sequential alternating turns: Spin lot → Execute permitted board action. ## Formal rules R1. Setup: 3×3 grid initialized empty. Each agent has an inventory of 3 tokens. Target: first to score 3 rounds wins the match. R2. Turn Structure: On agent i's turn: - Agent spins teetotum: outcome L∼Uniform({T,A,N,E}). - Actions permitted based on L: - If L==T (*Take*): If unplaced tokens remain, place 1 token in any empty cell c∈V. Additionally, agent may remove 1 opponent token from the board (provided it does not break an already formed winning line). - If L==A (*Action/Add*): If unplaced tokens remain, place 1 token in any empty cell c∈V. If all 3 tokens are on the board, slide 1 token to an adjacent connected empty cell. - If L==N (*Nothing*): No placement or movement permitted; turn passes immediately to opponent. - If L==E (*Extra*): Place 1 token (or slide 1 token) and receive an immediate bonus spin turn. R3. Movement Phase: Once an agent has placed all 3 tokens on the board, subsequent 'Add' or 'Extra' actions permit moving one existing token to an adjacent orthogonally or diagonally connected empty square. R4. Win condition (Round): If at any point an agent's 3 tokens occupy any of the 8 canonical 3-in-a-row lines (3 horizontal, 3 vertical, 2 diagonal), that agent scores +1 point and the board is reset. R5. Match Victory: First agent to reach 3 points wins the match. R6. [gap-fill] Turn cap: If no player aligns 3 tokens within 40 turns in a single round, the round is declared a draw, and the board resets. ## Edge cases - Tie at the end condition: Achieved if round turn cap (40 turns) expires without a line formation (R6); scores carry forward. - A player with no legal move: If spun action A or E occurs when board is blocked with no valid moves, the player passes turn. - Repetition / cycles: Bounded by 40-turn cap per round (R6). - Simultaneous claims on the same resource or position: Not applicable — turns and spins execute in strict sequence. - Player elimination mid-round; turn order repair: Direct 2-player match; resignation awards win to the opponent. - Resource exhaustion: Exactly 3 tokens per player. - Termination guarantee: Provably terminates because rounds have a hard 40-turn timeout and match ends at 3 points. ## State representation - Persistent state: Match score [S0,S1], round counter, leading player index. - Per-round state: Board array B∈{0,1,Empty}9, placed token counts (p0,p1), current turn counter t∈[0..40]. - Observable information: Fully observable public state (board layout, piece locations, and spinner outcome are fully visible to both agents). ## Action space - `spin_and_place(cell_id, optional_target_to_remove)`: Execute placement and capture if permitted by spinner. - `spin_and_move(from_cell, to_cell)`: Slide token if all tokens placed. ## Playability notes - Single-player-vs-AI: Natural — human player vs. AI agent evaluating MiniMax search with expectimax lot evaluation. - Group games (n>4): Inapplicable; strictly a 2-player abstract game. - Physical-skill games: Abstracted to discrete lot probability and placement strategy. - What is lost: The scratching sound of slate pencils on grey stone and the tactile whir of the hand-carved wooden teetotum top. ## Implementation hints Extremely simple and robust discrete expectimax board game. First milestone: implement 3×3 grid state with 4-sided spinner evaluator and 3-in-a-row line detector.

Download as JSON

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

Download JSON
Cite this page

Tee-toe-taa (Isle of Man). (n.d.). Games of Countries. https://gamesofcountries.com/games/im-isle-of-man/tee-toe-taa

@misc{gamesofcountries-im-isle-of-man-tee-toe-taa,
  title = {Tee-toe-taa (Isle of Man)},
  year = {n.d.},
  publisher = {Games of Countries},
  url = {https://gamesofcountries.com/games/im-isle-of-man/tee-toe-taa}
}