A digital implementation of the board game Quoridor, built with Python and Pygame.
Quoridor is a strategic board game where two players race to reach the opposite side of the board while placing walls to slow down their opponent.
Each player can:
- Move one square per turn (up, down, left, right)
- Place walls to block paths
- Jump over the opponent when adjacent
Be the first player to reach the opposite side of the board:
- Blue player starts at the top and aims for the bottom
- Red player starts at the bottom and aims for the top
On each turn, a player can:
- Move to an adjacent square (no diagonals)
- Jump over the opponent if directly adjacent (if not blocked)
- Move diagonally when a jump is blocked by a wall
Walls block movement between squares.
- Each player starts with a limited number of walls
- Walls are placed between squares
- Walls cannot:
- Overlap
- Cross each other
- Fully block a player’s path to the goal
- Left Click → Move / Place wall
- R Key → Restart game
pip install pygame