python -m venv venv
venv\Scripts\activate (for Windows), or
venv/bin/activate (for Linux/Mac)
pip install -r requirements.txt
python dominion-lines.py
The game is designed to run on Python 3.13.
Board:
- A hexagonal grid, 9 hexes across (like a small Go board but hex-shaped).
- Both players start on opposite sides.
Pieces:
- Each player has 12 stones of their color.
- All stones are identical (like Go).
- But once placed, stones have a direction marker (like an arrow on them).
Rules:
- Placing Stones:
- On your turn, you place one of your stones on an empty hex.
- When placing, you must choose one of the 6 directions to orient it.
- Line Control:
- Stones exert control in the direction of their arrow.
- A line extends until blocked by another stone (any color).
- You “own” every hex that falls under the line of control, but only if no enemy line crosses it closer to the source.
- Capturing:
- If a stone is directly in the line of control of an enemy stone (and not defended by your own stone pointing back), it is captured and removed.
- Winning Conditions:
- First to control more than 50% of the board at the end of their turn wins.
- OR if your opponent cannot place a stone legally (because every hex would be captured immediately), you win.
Why it feels like Chess/Go:
- Like Go, it’s about territory control and encirclement.
- Like Chess, it has a directional, tactical combat system (stones can threaten each other).
- There’s no randomness, only pure strategy.