A cross-platform virtual tabletop for multiplayer card games https://cockatrice.github.io
Find a file
pliu037 6c53c1afc3 Cleaned up some code and reworked the logic regarding which cards.xml Oracle and Cockatrice consider default.
Original: If default is checked, Oracle will always save to the AppData path.
1st commit: If a path to cards.xml is set, Oracle will update that cards.xml. Bug: Running Oracle before setting a cards.xml (i.e.: on a fresh install) will lead to Oracle asking for a location at which to save cards.xml, even if default was checked.
2nd commit: Fix of 1st commit +: 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.
This commit: Fix of 2nd commit +: 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 copy.
2014-07-31 07:25:59 -04:00
cockatrice Cleaned up some lines of code 2014-07-27 12:47:05 -04:00
common Have servatrice inform players of sideboard size 2014-06-28 00:36:43 -04:00
doc Recompiled usermanual. 2014-06-25 09:16:00 +02:00
nsis Merge branch 'master' into windows-nsis-fix 2014-06-23 23:16:20 -04:00
oracle Cleaned up some code and reworked the logic regarding which cards.xml Oracle and Cockatrice consider default. 2014-07-31 07:25:59 -04:00
servatrice Example Update 2014-07-02 13:23:50 -04: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 Compile servatrice on travis 2014-06-27 20:42:19 -04:00
CMakeLists.txt Fix typo in gcc opts 2014-06-28 11:04:12 -04:00
COPYING Updated COPYING (GPLv2) with GPLv2 from GNU.org (trivial) 2013-05-08 20:45:38 +02:00
README.md Add travis build icon to README 2014-06-25 01:14:43 -04:00
TODO.md Remove compiler warnings from TODO 2014-02-11 01:53:04 -05:00
travis-dependencies.sh Install libgcrypt on osx travis 2014-06-27 22:57:24 -04: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
  • -DWITHOUT_CLIENT=1 do not build the client

Running

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