* Update log path example when running under windows Added example of log path syntax when running servatrice under windows. * Missed example bra cket * Added user privilege level Added a enum column in the users table named "privilevel" with the current values of "none", "vip", and "donator". Also allowed anyone with a higher privilege level than "none" to log in even if the server is set to limit the user total and the user limit is reached. This change add's the new user information into the users container that gets populated and passed between client and server. * Added user privilege level Added a enum column in the users table named "privilevel" with the current values of "none", "vip", and "donator". Also allowed anyone with a higher privilege level than "none" to log in even if the server is set to limit the user total and the user limit is reached. This change add's the new user information into the users container that gets populated and passed between client and server. * don't use corrected name when downloading card (#2164) * Fix dynamic user limit settings PR #2220 removed the ability to be able to change the max user limit count while the server is running requiring a restart to make the settings change. This PR reverts the behavior back to how it operated prior to the PR. * Call class functions for consistency Updated code to call functions for consistency. * don't use corrected name when downloading card (#2164) * Added user privilege level Added a enum column in the users table named "privilevel" with the current values of "none", "vip", and "donator". Also allowed anyone with a higher privilege level than "none" to log in even if the server is set to limit the user total and the user limit is reached. This change add's the new user information into the users container that gets populated and passed between client and server. * Corrected Typo Corrected typo in DB Migration Script * Git fuckup? * Added word column Added the word column to migration script for backwards compatibility |
||
---|---|---|
.github | ||
.tx | ||
cmake | ||
cockatrice | ||
common | ||
doc | ||
oracle | ||
servatrice | ||
tests | ||
webclient | ||
.dockerignore | ||
.gitignore | ||
.mention-bot | ||
.travis.yml | ||
appveyor.yml | ||
CMakeLists.txt | ||
COPYING | ||
Dockerfile | ||
README.md | ||
TODO.md | ||
travis-compile.sh | ||
travis-dependencies.sh |
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++ and is using the Qt5 libraries.
Downloads
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. Downloads are hosted on BinTray.
-
Latest development version:
Development builds may not be stable or contain several bugs. Especially if from a branch other thanmaster
!
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.
If you'd like to contribute code to the project, 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
Community Resources
Translation Status 
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 |
---|---|
Check out our Translator FAQ for more information about contributing!
Building

Detailed compiling instructions are on the Cockatrice wiki under Compiling Cockatrice
Dependencies:
Oracle can optionally use zlib to load zipped files:
- zlib (no https!)
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).-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
.
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 
Cockatrice is free software, licensed under the GPLv2.