Skip to content
/ Othello Public
forked from PoncetRonan/Othello

A multiplayer Othello board game built in Python 🐍

Notifications You must be signed in to change notification settings

DidiCi/Othello

Β 
Β 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

171 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

⚫️βšͺ Othello Game Project

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.


πŸ“Œ Project Overview

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


🧠 Goals

  • Practice object-oriented programming in Python
  • Learn and apply Git & GitHub workflows (branching, merging, PRs)
  • Build a fully functional terminal-based board game

πŸ—‚οΈ Project Structure

  
  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 
  

πŸ› οΈ Setup

git clone https://github.com/DidiCi/Othello.git
cd othello
python main.py

πŸ‘₯ Contributors

About

A multiplayer Othello board game built in Python 🐍

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%