Code Monkey home page Code Monkey logo

cockatrice's Introduction

Cockatrice

Cockatrice is an open-source multiplatform software for playing card games, such as Magic: The Gathering, over a network. It is fully client-server based to prevent any kind of cheating, though it supports single-player games without a network interface as well. Both client and server are written in Qt, supporting both Qt4 and Qt5.

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/Oracle to your language or edit single wordings by clicking on the associated charts below.
Our project page offers a detailed overview for contributors.

Language statistics for Cockatrice (on the left) and Oracle (on the right):

Cockatrice translations      Oracle translations

Check out our Translator FAQ for more information!

Building Build Status

Detailed installation instructions are on the Cockatrice wiki under Installing 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
make install

The following flags can be passed to cmake:

  • -DWITH_SERVER=1 Build the server
  • -DWITH_CLIENT=0 Do not build the client
  • -DWITH_ORACLE=0 Do not build Oracle
  • -DWITH_QT4=1 Force compilation to use Qt4 instead of Qt5.
  • -DCMAKE_BUILD_TYPE=Debug Compile in debug mode. Enables extra logging output, debug symbols, and much more verbose compiler warnings.
  • -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. You should run this when contributing code that changes user messages. Translation file updates should be added in the same commit as the string that was changed.

Running

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

License

Cockatrice is free software, licensed under the GPLv2; see COPYING for details.

cockatrice's People

Contributors

mbruker avatar daenyth avatar ctrlaltca avatar poixen avatar woogerboy21 avatar arxanas avatar kaiserfro avatar pliu avatar jaeiclee avatar tooomm avatar mattkelly avatar mitchellwrosen avatar glacials avatar solygen avatar dmbuce avatar acron0 avatar mcallahan avatar vmpajares avatar aeosynth avatar zackdibe avatar mustymustelidae avatar nicolasperrenoud avatar jfreake avatar blitzmerker avatar dreamcwli avatar dylan avatar jturner avatar catmanjan avatar taw avatar

Watchers

James Cloos avatar Alexandre Papin 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.