A multiplayer Othello board game built in Python π β playable through the terminal. This project is part of our team collaboration to learn Git and Python OOP.
Othello is a classic strategy board game where two players take turns placing discs to capture the opponent's pieces. This project includes:
- A playable 8x8 grid
- Turn-based logic
- Valid move detection
- Disc flipping
- Win condition check
- An IA player
Project duration: 3 days
- Practice object-oriented programming in Python
- Learn and apply Git & GitHub workflows (branching, merging, PRs)
- Build a fully functional terminal-based board game
Othello/
βββ engine/
β βββ __init__.py
β βββ othello.py # Game engine: controls game flow and rules
β
βββ model/
β βββ __init__.py
β βββ board.py # Board class: grid logic
β βββ case.py # Case class: individual cell representation
β βββ pawn.py # Pawn class: black/white disc logic
β βββ player.py # Player class: player states
β βββ playerIA.py # PlayerIA class: define IA moves
β
βββ view/
β βββ __init__.py
β βββ coordinates.py # Coordinate helper
β βββ display.py # Display logic (print board, status)
β
βββ main.py # Game entry point
βββ .gitignore # Git ignored files
βββ README.md # Project documentation
git clone https://github.com/DidiCi/Othello.git
cd othello
python main.py