Skip to content

Kriegspiel/ks-game

Repository files navigation

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 tests
python -m pytest tests/

Lint

black -l 128 %FILE%