<p align='center'><img src=https://cloud.githubusercontent.com/assets/9874850/7516775/b00b8e36-f4d1-11e4-8da4-3df294d01f86.png></p>
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++ and is using the Qt5 libraries.<br>
We offer downloads for all full releases (recommended) and the latest development versions. Full releases are checkpoints with major feature or UI enhancements between them, but currently we don't have a set schedule for releasing new updates. 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.
- Development builds may not be stable and/or contain several bugs.
- If you'd like to be a Cockatrice Beta Tester, use this version.
- More information can be found here
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.<br>
If you'd like to contribute code to the project, please review the guidelines.
We maintain a tag for "easy" changes on our issue tracker: issues tagged in this way provide a simple way to get started. Issues tagged as Easy Changes
Check our long-term project roadmap with some visions here.
We try to be very responsive to new issues. We'll try to give you advice on how a feature should be implemented / advice on places the codebase is doing something similar before you get too far along with a PR.
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.<br>
Check out our Translator FAQ for more information about contributing!<br>
Detailed compiling instructions are on the Cockatrice wiki under Compiling Cockatrice
Oracle can optionally use zlib to load zipped files:
mkdir build cd build cmake .. make
You can then run
to get a cockatrice installation inside the
release folder, or:
to create a system-specific installation package.
The following flags can be passed to
-DWITH_SERVER=1Whether to build the server (default 0 = no).
-DWITH_CLIENT=0Whether to build the client (default 1 = yes).
-DWITH_ORACLE=0Whether to build oracle (default 1 = yes).
-DCMAKE_BUILD_TYPE=DebugCompile in debug mode. Enables extra logging output, debug symbols, and much more verbose compiler warnings (default
maketo update the translation .ts files for new strings in the source code. Note: Running
make cleanwill remove the .ts files (default 0 = no).
-DTEST=1Enable regression tests (default 0 = no). Note: needs googletest, will be downloaded on the fly if unavailable. To run tests:
Cockatrice is the game client
Oracle fetches card data
Servatrice is the server<br>
Servatrice Docker container
A Dockerfile is provided to run Servatrice (the Cockatrice server) using Docker.<br>
You just need to create an image from the Dockerfile<br>
docker build -t servatrice .<br>
And then run it<br>
docker run -i -p 4747:4747/tcp -t servatrice:latest<br>
Please note that running this command will expose the TCP port 4747 of the docker container<br>
to permit connections to the server.
More infos on how to use Servatrice with Docker can be found in our wiki.
Cockatrice is free software, licensed under the GPLv2.