Skip to content

joseph-wiesegger/openschafkopf

 
 

Repository files navigation

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.
    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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Rust 95.5%
  • Python 1.6%
  • Shell 0.9%
  • TypeScript 0.8%
  • CSS 0.7%
  • Gnuplot 0.2%
  • Other 0.3%