Go to file
Peng Liu 8587b8c349 Refactored the magic bytes into two QLists: one containing a list of QStrings representing the supported extensions, the other containing a list of QByteArrays representing the magic bytes in hex.
Refactored the image loading loop to be two nested for loops: the outer loop iterating through the QList of paths to folders in which to search for images and the inner loop iterating through the QList of supported extensions.
2014-08-05 03:48:30 -04:00
2014-07-12 01:38:00 +02:00
2014-06-25 09:16:00 +02:00
2014-07-02 13:23:50 -04:00
2014-06-27 20:42:19 -04:00
2014-07-30 15:47:57 -04:00
2014-02-11 01:53:04 -05:00

Cockatrice

Build Status

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 4.

License

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

Building

Dependencies:

The server requires an additional dependency:

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.

Running

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

Description
Languages
C++ 89.1%
TypeScript 6.4%
CMake 2.1%
C 0.9%
Shell 0.9%
Other 0.5%