Skip to main content

Python Kriegspiel Game

Project description

Python Kriegspiel Game

PyPI version codecov


Kriegspiel Game Engine

Supported Kriegspiel rules:

  1. Berkeley
  2. Berkeley + Any

In plan:

  1. Crazykrieg
  2. Crazykrieg + Any

How-to

Install

pip install kriegspiel

Run tests

# clone this repo
git clone git@github.com:Kriegspiel/ks-game.git
# activate virtual env (optional)
cd ks-game
python3 -m venv ks-game-env
source ks-game-env/bin/activate
# install dependencies
pip install -r requirements.txt
pip install -r requirements-dev.txt
# run all tests
python run_tests.py
# see all test options
python run_tests.py --help

Lint

black -l 128 %FILE%

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

kriegspiel-1.2.1.tar.gz (27.2 kB view details)

Uploaded Source

Built Distribution

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

kriegspiel-1.2.1-py3-none-any.whl (16.4 kB view details)

Uploaded Python 3

File details

Details for the file kriegspiel-1.2.1.tar.gz.

File metadata

  • Download URL: kriegspiel-1.2.1.tar.gz
  • Upload date:
  • Size: 27.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for kriegspiel-1.2.1.tar.gz
Algorithm Hash digest
SHA256 20ac8eef82831b236ecc3b741570aac271446914fdc86cff66ca357a9d9cb9b6
MD5 5b6eb56b7714a541de7f5d09f3bbb684
BLAKE2b-256 3c8ac7671194d93b5d9ef0d28c53a9eadfe8ad9e5b299f75c55047034b8fa593

See more details on using hashes here.

File details

Details for the file kriegspiel-1.2.1-py3-none-any.whl.

File metadata

  • Download URL: kriegspiel-1.2.1-py3-none-any.whl
  • Upload date:
  • Size: 16.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for kriegspiel-1.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 871368ba88d3cdd6470dc8a71cf4aafcf5a006767f05d3ff08fd64b486b44c2c
MD5 64e0573fcf7fd59a61d485eba6fa34db
BLAKE2b-256 4f3fae011d8f50aa65f913c853c02e8cec82d91b3c8690b9e39992e7a3cdfca5

See more details on using hashes here.

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