GithubHelp home page GithubHelp logo

skat's Introduction

Skat game engine

Build Status

Engine intented to be able to completely simulate Skat card game, as well as act in a bot-like manner.

Compiled program uses CLI interface as to demonstrate library's abilities.

Notes

Game implements official rules without any local additions (no Ramsch for instance). It doesn't implement idea of giving deal up early or ability to counter bidding as well.

Naming in the game is in most part derrived from English Wikipedia. However, there are some local names used. Cards suites use upper-silesian names:

  • Kreuz - for Clubs/Acorns/Trefl,
  • Grün - for Spades/Leaves/Pik,
  • Herz - for Hearts/Hearts/Caro,
  • Schell - for Diamonds/Bells/Kier

Similarly Jack is denoted with W and Queen with D. It can be changed using i18n settings.

Installation

Download source from GitHub and build using instructions below.

Usage

Building requires Leiningen installed.

To only build standalone jar run:

$ lein uberjar

It can be run with:

$ java -jar skat-0.5.0-standalone.jar

Alternatively build and run program at once:

$ lein run

On Windows (Cygwin) it might be required to run

cmd /c chcp 65001

before to make sure that UTF-8 characters will be displayed correctly.

On start you can pass option to configure apps behavior:

$ lein run -- --help
  -l, --lang LANG      :en  Interface language
  -r, --rounds ROUNDS  10   Number of rounds played
  -d, --debug               Debug mode on
  -h, --help                Display help

Currently available translations are: en (English) and pl (Polish).

License

Copyright © 2014-2015 Mateusz Kubuszok

Distributed under the Eclipse Public License version 1.0.

skat's People

Contributors

mateuszkubuszok avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.