Skip to main content

Edax gui to play Othello against the Edax engine

Project description

OthelloTk

Edax gui to play Othello against the Edax engine. Written in python3/Tkinter and licensed under the GPL v3+ (see the file named LICENSE). It was tested with edax 4.3.2 and Python 3.4.3 on Linux.

Requirements

Python 3, tkinter, Edax.

Running OthelloTk

There are 3 ways to install/run it.

  1. Run it from the source folder by running the run.py script:

    python run.py

  2. Install it on your system with the command:

    python setup.py install

    This command should be run as root user. You can then run it with the command ‘othellotk’.

  3. Install it from PyPI

    pip install othellotk

    You can then run it with the command ‘othellotk’.

Setting up the Engine Path

  1. Download the edax othello engine from http://abulmo.perso.neuf.fr This has a prebuilt binary for Linux 64 bit.

  2. Start othelloTk.

  3. Do Engine/Set Engine Path and set the engine path to the edax executable. This is called lEdax-x64 in the edax bin folder (if you are using Linux 64 bit).

  4. Start the game by left clicking to place a black stone.

Usage

You play black, computer plays white. Click on a square to place a black stone. If you find there are no legal moves then you can pass by right clicking anywhere on the board.

Edax allows you to configure engine settings in a file named edax.ini. Copy this file into the ~/.othelloTk/ folder (or into the edax bin folder). See edax documentaion for more on this.

To display debug messages use the -debug flag:

python run.py -debug (or othelloTk -debug if installed)

If the engine is taking too long to move you can use ctrl-m to make it move instantly. Use the time control menu option to set the time to move.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

othellotk-0.1.1.tar.gz (16.2 kB view details)

Uploaded Source

File details

Details for the file othellotk-0.1.1.tar.gz.

File metadata

  • Download URL: othellotk-0.1.1.tar.gz
  • Upload date:
  • Size: 16.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for othellotk-0.1.1.tar.gz
Algorithm Hash digest
SHA256 00be35a992efd4ee2830f915a08ee06a0aa180e4e602ea71cbe484fd0b2e6bae
MD5 779f9f9762f11fa5e56ef08f144013e4
BLAKE2b-256 4054a5fe957816704a34f2f4fb25d20c2be8209662c84d2c8554bd2fe0918fab

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page