Skip to content

humbhenri/pyOthello

Repository files navigation

PyOthello

Simple othello game with computer oponent intended for simple ai learning purposes.

Table of Contents

Requirements

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)

Installation

  1. Clone the Repository:

    git clone https://github.com/humbhenri/pyOthello.git
    cd pyothelo
  2. Set Up a Virtual Environment (optional but recommended):

    python -m venv .venv
    source .venv/bin/activate
  3. Install Dependencies:

    Install the required Python packages, including Pygame:

    python -m pip install -r requirements.txt

Running the Game

After installing the dependencies, you can run the game using the following command:

python othello.py

Running with nix

nix-shell
python othello.py

License

GPL

About

Simple reversi like game using python and pygame.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published