mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-30 23:50:19 -07:00
6502a182e825745edb1db2a32fad45b9660473c0
Like M15’s .png that cockatrice wrongly saved as .jpg Additionally, move the QImageReader declaration outside of the inner loop
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 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=1Build the server-DWITH_CLIENT=0Do not build the client-DWITH_ORACLE=0Do not build Oracle-DWITH_QT4=1Force compilation to use Qt4 instead of Qt5.-DCMAKE_BUILD_TYPE=DebugCompile 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
Languages
C++
95.5%
CMake
2.2%
C
1%
Shell
0.9%
Python
0.3%
Other
0.1%