No description
Find a file
2015-01-19 16:33:44 +01:00
cmake Merge pull request #364 from ctrlaltca/win32_openssl_cmake 2014-10-14 14:03:32 -04:00
cockatrice Merge pull request #559 from poixen/chatnamehighlight 2015-01-17 00:43:49 +01:00
common Merge pull request #534 from poixen/accountage 2015-01-11 21:37:07 -05:00
doc Added xdd schema for "cod" decks; fix #545 2015-01-19 16:33:44 +01:00
oracle Merge pull request #516 from mcallahan/compilation-warnings 2015-01-01 14:32:53 +01:00
servatrice Merge pull request #534 from poixen/accountage 2015-01-11 21:37:07 -05:00
sounds osx: install sounds and zonebg as cockatrice's resources 2014-06-22 23:41:15 +02:00
zonebg Zonebg: avoid installing the CMakeLists.txt file 2014-06-22 23:42:12 +02:00
.gitignore Example Update 2014-07-02 13:23:50 -04:00
.travis.yml Permit linux/clang/qt5 build to fail 2014-11-21 12:15:36 -05:00
CMakeLists.txt Clean up a small pile of compiler warnings. 2014-12-30 15:54:38 -07:00
CONTRIBUTING.md Added section on memory management to CONTRIBUTING.md. 2014-08-07 15:37:40 -04:00
COPYING Updated COPYING (GPLv2) with GPLv2 from GNU.org (trivial) 2013-05-08 20:45:38 +02:00
README.md Readme links to install instructions wiki page 2015-01-14 17:00:05 -05:00
TODO.md Remove compiler warnings from TODO 2014-02-11 01:53:04 -05:00
travis-compile.sh Fix travis compilation with osx+qt5 2014-12-26 16:34:42 +01:00
travis-dependencies.sh Don't install qt4 when building qt5 on osx 2014-11-18 12:41:08 -05:00

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

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.

Gitter chat

Building

Build Status

Detailed installation instructions are on the Cockatrice wiki under Installing Cockatrice

Dependencies:

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

Community Resources

License

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