keppelerj / openschafkopf

Open Source Schafkopf

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

OpenSchafkopf

This software allows to play and analyze the game Schafkopf. It supports the following variants (see rulesets for examples):

  • Rules: Rufspiel, Solo/Wenz/Farbwenz/Geier/Farbgeier (including Tout/Sie), Bettel, Ramsch
  • Expensifiers: Schneider/Schwarz, Laufende, Stoss, Doppeln
  • Misc: Kurze/lange Karte, Stock, Steigern

Building

Requirements:

git clone https://github.com/phimuemue/openschafkopf.git
cd openschafkopf
cargo build --release

Getting started

Examples

The repository contains some examples that show how the program can be used. They are meant to be run from the root folder.

More details

./target/release/openschafkopf -h

schafkopf 

USAGE:
    openschafkopf [SUBCOMMAND]

OPTIONS:
    -h, --help    Print help information

SUBCOMMANDS:
    cli             Play in command line
    websocket       Play in the browser
    analyze         Analyze played games and spot suboptimal decisions
    suggest-card    Suggest a card to play given the game so far
    hand-stats      Statistics about hands that could be dealt.
    dl              Download played games from Sauspiel
    parse           Parse a game into a simple format
    webext          Backend of a web-extension suggesting a card for a given game state
    help            Print this message or the help of the given subcommand(s)

About

Open Source Schafkopf

License:MIT License


Languages

Language:Rust 95.0%Language:Python 1.7%Language:Shell 1.1%Language:TypeScript 1.0%Language:CSS 0.9%Language:HTML 0.3%Language:Less 0.1%