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.0.tar.gz (25.7 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.0-py3-none-any.whl (15.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: kriegspiel-1.2.0.tar.gz
  • Upload date:
  • Size: 25.7 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.0.tar.gz
Algorithm Hash digest
SHA256 1341ab717083b20cbad89340ba05a0021c80d5102daa30f925f815c65f3107b5
MD5 e60d73483ec8ac265add5b8ba9b32d05
BLAKE2b-256 171af9b5b8edf97f3f89037cb7b4b276995c8415fa789362fbc1e414196c4b59

See more details on using hashes here.

File details

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

File metadata

  • Download URL: kriegspiel-1.2.0-py3-none-any.whl
  • Upload date:
  • Size: 15.8 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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 67d4b86c9cd4d897b8a791a2063ec66018b63a251ce149a00003e80987a20c43
MD5 2bcd408d651c2c05a747828c3bb59379
BLAKE2b-256 89ceb5ef9517802d231c5cf697a12baf2d03f2973917499cff328f11332c42ab

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