No description
Find a file
Fabio Bas 1e3fb6c6e1 Rework "paths" settings loading and card database loading
* main.cpp: removed path checking and db loading
 * card database: merge card loading methods into a single one
 * settings cache: take care of returning safe paths for decks,
replays, etc..
 * main window: if db loading fails (eg. first run), propose to run
oracle

NSIS: propose to run cockatrice instead of oracle

Rework card database loading

 * Move carddatabase-related method out of deckeditor tab
 * Load cards in another thread and render them progressively
 * Optimize database reload after enabled sets change

Fix deck editor column width

 * removed the noCard hack.
 * getCard() no more creates cards instead of just returning existing
ones
 * Fix the “edit tokens” dialog.
 * PictureLoader: avoid trying to download twice the same card
 * PictureLoader: correct return of card background
 * AbstractCardItem: avoid recalculating card color at every paint

Use a different file to save custom tokens

Misc required improvements

 * Use nullptr;
 * Refactor CardInfoWidget to use CardInfoPicture and CardInfoText
instead of duplicating code;
 * Added CardInfo::getColorChar()
 * Fixed some potential crashes
 * removed dead code related to CardInfoWidget
 * Don't require a restart after adding a new custom sets file
 * Bump CMake requirements to 3.1
2016-03-15 22:27:55 +01:00
.github add template for issues 2016-02-18 19:23:35 +01:00
.tx Added transifex cli configuration 2015-09-08 19:08:04 +02:00
cmake Rework "paths" settings loading and card database loading 2016-03-15 22:27:55 +01:00
cockatrice Rework "paths" settings loading and card database loading 2016-03-15 22:27:55 +01:00
common Rework "paths" settings loading and card database loading 2016-03-15 22:27:55 +01:00
doc Implement reverse-related tag for cards 2015-12-26 19:57:20 +01:00
oracle Rework "paths" settings loading and card database loading 2016-03-15 22:27:55 +01:00
servatrice Added MySQL 5.7 lib path to servatrice CMAKE 2016-02-27 15:13:59 -05:00
tests Fix PR #1600 2015-10-09 14:59:42 +02:00
.dockerignore Dockerfile for servatrice 2015-07-02 23:58:25 -04:00
.gitignore Added transifex cli configuration 2015-09-08 19:08:04 +02:00
.travis.yml Add correct encrypted api key to deploy to bintray 2015-12-14 09:32:31 +01:00
appveyor.yml Test appveyor deploy 2015-12-14 15:06:16 +01:00
CMakeLists.txt Rework "paths" settings loading and card database loading 2016-03-15 22:27:55 +01:00
COPYING Updated COPYING (GPLv2) with GPLv2 from GNU.org (trivial) 2013-05-08 20:45:38 +02:00
Dockerfile Use servatrice as docker entrypoint 2015-08-22 08:43:44 -04:00
README.md Update README.md 2016-01-19 17:01:42 +01:00
TODO.md moved usermanual part to wiki 2016-02-18 18:32:17 +01:00
travis-compile.sh Add script to validate schema changes. 2015-12-13 10:47:39 +01:00
travis-dependencies.sh Rework "paths" settings loading and card database loading 2016-03-15 22:27:55 +01:00


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

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.

Building servatrice Docker container

docker build -t servatrice .

Running

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

License GPLv2 License

Cockatrice is free software, licensed under the GPLv2.