Skip to main content

Tablut Game Implementation in Python

Project description

pytablut

Installation

python3 -m pip install pytablut

Usage

In a terminal, start the Java Tablut server (assuming you have Java installed):

java -jar Executables/Server.jar -g # Start server with GUI

In a new terminal, start one player client:

pytablut run client -r white -t 60.0 --host localhost

In another terminal, start the second player client:

pytablut run client -r black -t 60.0 --host localhost

To see all available options for the client:

pytablut run client --help

Development

Clone the repository:

git clone https://github.com/Bardreamaster/pytablut.git
cd pytablut

Install development dependencies with uv:

uv sync

Run with uv: uv run pytablut run client or activate the virtual environment and run directly like normal user.

License

MIT License

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

pytablut-0.1.0.tar.gz (77.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pytablut-0.1.0-py3-none-any.whl (14.3 kB view details)

Uploaded Python 3

File details

Details for the file pytablut-0.1.0.tar.gz.

File metadata

  • Download URL: pytablut-0.1.0.tar.gz
  • Upload date:
  • Size: 77.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for pytablut-0.1.0.tar.gz
Algorithm Hash digest
SHA256 ccb1bbc3f8e651e0fd097cfd4f2514c4b53c699e1283b13a3f7a26a6463f06c1
MD5 73c751d2c7a0845fe3a0bef3d5d3386d
BLAKE2b-256 424bbe2e8155af0cb374749bf6717aca434d81160336b4a62ac6a4da86ad153d

See more details on using hashes here.

Provenance

The following attestation bundles were made for pytablut-0.1.0.tar.gz:

Publisher: pypi.yml on Bardreamaster/pytablut

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pytablut-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: pytablut-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 14.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for pytablut-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ddc630ea57bc2461b3e543707b92a6c62c2bd14c17a6fd9ee397cd94360439f0
MD5 6b0b81e0d9f8061c8d29a7bacb037be1
BLAKE2b-256 a154e05803071c9c77275515b80a732c8495bfdc1967e25172cf62484a03c64d

See more details on using hashes here.

Provenance

The following attestation bundles were made for pytablut-0.1.0-py3-none-any.whl:

Publisher: pypi.yml on Bardreamaster/pytablut

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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