Simple othello game with computer oponent intended for simple ai learning purposes.
Before you begin, make sure you have the following installed on your system:
- Python 3.10+
- SDL (On ubuntu:
sudo apt-get install python3-dev python3-pip libsdl-image1.2-dev libsdl-mixer1.2-dev libsdl-ttf2.0-dev libsmpeg-dev libportmidi-dev libavformat-dev libswscale-dev libjpeg-dev libfreetype6-dev
)
-
Clone the Repository:
git clone https://github.com/humbhenri/pyOthello.git cd pyothelo
-
Set Up a Virtual Environment (optional but recommended):
python -m venv .venv source .venv/bin/activate
-
Install Dependencies:
Install the required Python packages, including Pygame:
python -m pip install -r requirements.txt
After installing the dependencies, you can run the game using the following command:
python othello.py
nix-shell
python othello.py
GPL