reports/preliminary: LaTeX code fo the preliminary report.reports/final: LaTeX code of the final report.
Python based implementation of the game of Othello (also known as Reversi)
Depending on your Linux distribution, install the required GTK4 / PyGObject dependencies:
Debian/Ubuntu:
apt install python3-gi python3-gi-cairo gir1.2-gtk-4.0Fedora:
sudo dnf install python3-gobject gtk4Arch Linux:
sudo pacman -S python-gobject gtk4openSUSE:
sudo zypper install python3-gobject python3-gobject-Gdk typelib-1_0-Gtk-4_0 libgtk-4-1- Clone the repository:
git clone git@gitlab.emi.u-bordeaux.fr:pdp-2025/othello-1.git- Navigate to the project directory:
cd othello-1- Create and activate a virtual environment:
python -m venv venv
. venv/bin/activate- Install the game:
python -m pip install ./othelloLaunch the game using either:
python -m othello
# or
othelloIf you are using zsh/autocd etc. like me, prefer the python -m othello version.
If you encounter issues on Wayland, set the XKB configuration path:
export XKB_CONFIG_ROOT=/usr/share/X11/xkb/rules/For additional PyGObject setup information, visit: https://pygobject.gnome.org/getting_started.html