mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2025-12-29 06:05:30 -08:00
fc24ffdec2123e5069debf023d0f215775464f36
* Move all cmake-related files in a new “cmake” folder * move nsis files in there, too, since they are templates parsed by cake * retrieve git version once when cmake is run, and use it for both creating version_string.h/cpp and for package naming
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-DWITHOUT_CLIENT=1do not build the client
Running
oracle fetches card data
cockatrice is the game client
servatrice is the server
Languages
C++
88.9%
TypeScript
6.6%
CMake
2.1%
C
0.9%
Shell
0.9%
Other
0.5%