5.5 KiB
Table of Contents Cockatrice | [Get Involved] (#get-involved-) | Community | Translation | Building | Running | License
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.
Downloads
We offer a download for both the last stable version (recommended for users) and the last development version. The development version contains the last implemented features, but can be unstable and unsuitable for gaming. Downloads are hosted on BinTray.
Get Involved 
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
- Cockatrice Official Wiki
- reddit r/Cockatrice
- Woogerworks / [Chickatrice] (http://www.chickatrice.net/) / Poixen (incomplete Serverlist)
Translation Status 
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):
Check out our Translator FAQ for more information!
Building

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 (defaultRelease
).-DUPDATE_TRANSLATIONS=1
Configuremake
to update the translation .ts files for new strings in the source code. Note: Runningmake 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
.
Building servatrice Docker container
docker build -t servatrice .
Running
oracle
fetches card data
cockatrice
is the game client
servatrice
is the server
License 
Cockatrice is free software, licensed under the GPLv2.