Giter VIP home page Giter VIP logo

cockatrice's Introduction


Table of Contents    Cockatrice | Downloads | [Get Involved] (#get-involved-) | Community | Translation | Building | Running | License



If you're getting started ⇢ view our webpage
If you're trying to get support or suggest changes ⇢ file an issue (How?)

Cockatrice

Cockatrice is an open-source multiplatform supported program for playing tabletop card games over a network. The program's server design prevents any kind of client modifications to gain an unfair advantage in a game. The client also has a built in single-player mode where you can brew without being connected to a server. This project is written in C++/Qt with support for both Qt4 and Qt5.

Downloads

We offer a download for all full releases and the latest development version (recommended). Full releases are checkpoints with major feature or UI enhancements between them, but are infrequently updated. The development version contains the most recently added features and bugfixes, but can be more unstable. Downloads for development versions are updated automatically with every change. Downloads are hosted on BinTray.

  • Latest development version (recommended): Download
  • Latest full release: Download

Get Involved Gitter chat

Chat with the Cockatrice developers on Gitter. Come here to talk about the application, features, or just to hang out. For support regarding specific servers, please contact that server's admin or forum for support rather than asking here.

Community Resources

Translation Status Cockatrice on Transiflex

Cockatrice uses Transifex for translations. You can help us bring Cockatrice and Oracle to your language or just edit single wordings right from within your browser by simply visiting our Transifex project page.

Cockatrice Oracle
Cockatrice Translation Status Oracle Translation Status

Check out our Translator FAQ for more information about contributing!

Building Travis Build Status - master Appveyor Build Status - master

Detailed compiling instructions are on the Cockatrice wiki under Compiling Cockatrice

Dependencies:

Oracle can optionally use zlib to load zipped files:

The server requires an additional dependency when compiled under Qt4:

To compile:

mkdir build
cd build
cmake ..
make

You can then run

make install

to get a cockatrice installation inside the release folder, or:

make package

to create a system-specific installation package.

The following flags can be passed to cmake:

  • -DWITH_SERVER=1 Whether to build the server (default 0 = no).
  • -DWITH_CLIENT=0 Whether to build the client (default 1 = yes).
  • -DWITH_ORACLE=0 Whether to build oracle (default 1 = yes).
  • -DPORTABLE=1 Build portable versions of client & oracle (default 0 = no).
  • -DWITH_QT4=1 Force compilation to use Qt4 instead of Qt5 (default 0 = no).
  • -DCMAKE_BUILD_TYPE=Debug Compile in debug mode. Enables extra logging output, debug symbols, and much more verbose compiler warnings (default Release).
  • -DUPDATE_TRANSLATIONS=1 Configure make to update the translation .ts files for new strings in the source code. Note: Running make clean will remove the .ts files (default 0 = no).
  • -DTEST=1 Enable regression tests (default 0 = no). Note: needs googletest, will be downloaded on the fly if unavailable. To run tests: make test.

Servatrice Docker container

A Dockerfile is provided to run Servatrice (the Cockatrice server) using Docker.

You just need to create an image from the Dockerfile
docker build -t servatrice .
And then run it
docker run -i -p 4747:4747/tcp -t servatrice:latest

Please note that running this command will expose the TCP port 4747 of the docker container to permit connections to the server.
More infos on how to use Servatrice with Docker can be found in our wiki.

Running

cockatrice is the game client
oracle fetches card data
servatrice is the server

License GPLv2 License

Cockatrice is free software, licensed under the GPLv2.

cockatrice's People

Contributors

acron0 avatar aeosynth avatar arxanas avatar ctrlaltca avatar daenyth avatar dmbuce avatar fizztastic avatar glacials avatar imaspen avatar jaeiclee avatar jfreake avatar kaiserfro avatar leematos avatar marcofernandezheras avatar mattkelly avatar mbruker avatar mcallahan avatar mildmongrel avatar mitchellwrosen avatar mustymustelidae avatar nicolasperrenoud avatar pepi55 avatar pliu avatar poixen avatar psithief avatar solygen avatar tooomm avatar vmpajares avatar woogerboy21 avatar zackdibe avatar

Watchers

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