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.1.2.tar.gz (19.6 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.1.2-py3-none-any.whl (12.6 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for kriegspiel-1.1.2.tar.gz
Algorithm Hash digest
SHA256 387d4255098a8178638b2d371721c9c6842587e8b20f2499c7bca3556983cc9b
MD5 9221f7bdd5cf247993d6bf480fe4b50f
BLAKE2b-256 f878b245e52ca27113bbbe55777e292a5bf76bffbd2a27dca8b8ee7a9b55ec75

See more details on using hashes here.

File details

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

File metadata

  • Download URL: kriegspiel-1.1.2-py3-none-any.whl
  • Upload date:
  • Size: 12.6 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.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 d90aa007e124237a5f09d1a1b5cded4ae0952039896a4504b715b002804e1480
MD5 3c39c921a13f3375d580dfc0fb746fde
BLAKE2b-256 80b4d2c93974a8e3609c61d8b84841c01d825e6d89e0bdeb2d0f655fc8f02881

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