mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-04-27 07:48:01 -07:00
A cross-platform virtual tabletop for multiplayer card games
https://cockatrice.github.io
If a path to cards.xml is set, Oracle will update that cards.xml. If Oracle is run before a path to cards.xml is set, if default is checked, cards.xml will be saved on the AppData path. Furthermore, this path will be set as the cards.xml path for both Oracle and Cockatrice. If Oracle is run before a path to cards.xml is set, if default is NOT checked, cards.xml will be saved at the selected path and this path will be set as the cards.xml path for both Oracle and Cockatrice. If a path to cards.xml is set, if default is NOT checked, cards.xml will be saved at the selected path but this path will NOT be set as the cards.xml path for either Oracle or Cockatrice. This allows people who already have a cards.xml (which may be customized), to still obtain clean copies of cards.xml through Oracle without overwriting their own |
||
|---|---|---|
| cmake | ||
| cockatrice | ||
| common | ||
| doc | ||
| oracle | ||
| servatrice | ||
| sounds | ||
| zonebg | ||
| .gitignore | ||
| .travis.yml | ||
| CMakeLists.txt | ||
| COPYING | ||
| README.md | ||
| TODO.md | ||
| travis-dependencies.sh | ||
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